Skip to content

Commit 6676aa1

Browse files
author
Dorien Grönwald
committed
fix: disable basic auth
1 parent 4cb2a94 commit 6676aa1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/application/nginx.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
map $http_host $auth_basic_state {
2-
a11y-essentials.com "Restricted Access";
3-
default off;
4-
}
1+
# map $http_host $auth_basic_state {
2+
# a11y-essentials.com "Restricted Access";
3+
# default off;
4+
# }
55

66
server {
77
listen 80;
@@ -26,8 +26,8 @@ server {
2626

2727
# Replace above code with this if you want to use full static caching.
2828
location / {
29-
auth_basic $auth_basic_state;
30-
auth_basic_user_file /var/www/html/.htpasswd;
29+
# auth_basic $auth_basic_state;
30+
# auth_basic_user_file /var/www/html/.htpasswd;
3131

3232
try_files /static${uri}_${args}.html $uri /index.php?$args;
3333
}

0 commit comments

Comments
 (0)