directoryindex: index.php index.html
- location1:
provider: location
- limit_except:
- - {methods: 'GET HEAD', require: 'valid-user'}
path: '/'
- auth_type: Basic
- auth_name: server
- auth_user_file: '/etc/httpd/.htpasswd'
- auth_require: 'valid-user'
+ limit_except:
+ - {methods: 'OPTIONS', auth_type: 'Basic', auth_name: 'server', auth_user_file: '/etc/httpd/.htpasswd', auth_require: 'valid-user'}
+
+ # auth_type: Basic
+ # auth_name: server
+ # auth_user_file: '/etc/httpd/.htpasswd'
+ # auth_require: 'valid-user'
# provider: location
# path: '/'