ss_whitelist V1.0.2

[update] nginx 配置文件模板变更
pull/412/head
wulabing 2022-06-19 22:52:09 +08:00
parent 23d4b0e7bd
commit 730c409f8b
No known key found for this signature in database
GPG Key ID: 213391AFDF73AE00
1 changed files with 6 additions and 1 deletions

View File

@ -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;