diff --git a/ss_whitelist/config/nginx.conf b/ss_whitelist/config/nginx.conf index 229b40d..900bd95 100644 --- a/ss_whitelist/config/nginx.conf +++ b/ss_whitelist/config/nginx.conf @@ -85,7 +85,12 @@ http { server{ listen 80; listen [::]:80 ipv6only=on; - location = / { + location / { + auth_basic ""; + auth_basic_user_file /etc/openresty/auth; + add_header Content-Type text/plain; + } + location = /auth { auth_basic ""; auth_basic_user_file /etc/openresty/auth; add_header Content-Type text/plain;