add acl.conf

This commit is contained in:
VirtuBox 2018-09-19 04:03:04 +02:00
parent f18d58d832
commit dde52e237b
5 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,8 @@
# EasyEngine (ee) protect locations using
# HTTP authentication || IP address
satisfy any;
auth_basic "Restricted Area";
auth_basic_user_file htpasswd-ee;
# Allowed IP Address List
allow 127.0.0.1;
deny all;

View File

@ -0,0 +1,8 @@
# EasyEngine (ee) protect locations using
# HTTP authentication || IP address
satisfy any;
auth_basic "Restricted Area";
auth_basic_user_file htpasswd-ee;
# Allowed IP Address List
allow 127.0.0.1;
deny all;

View File

@ -29,7 +29,7 @@ location ~* \.(?:css(\.map)?|js(\.map)?)$ {
}
# Security settings for better privacy
# Deny hidden files
location ~ /\. {
location ~ /\.(?!well-known\/) {
deny all;
}
# Use the directory /var/www/html to valide acme-challenge

View File

@ -31,8 +31,8 @@ location ~* \.(?:css(\.map)?|js(\.map)?)$
}
# Security settings for better privacy
# Deny hidden files
location ~ /\. {
deny all;
location ~ /\.(?!well-known\/) {
deny all;
}
# Use the directory /var/www/html to valide acme-challenge
# just create the sub-directories .well-known/acme-challenge and set www-data as owner

View File

@ -35,7 +35,7 @@ location ~* \.(?:css(\.map)?|js(\.map)?)$ {
}
# Security settings for better privacy
# Deny hidden files
location ~ /\. {
location ~ /\.(?!well-known\/) {
deny all;
}
# Use the directory /var/www/html to valide acme-challenge