mirror of https://github.com/wulabing/Xray_onekey
parent
23d4b0e7bd
commit
730c409f8b
|
@ -85,7 +85,12 @@ http {
|
||||||
server{
|
server{
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80 ipv6only=on;
|
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 "";
|
||||||
auth_basic_user_file /etc/openresty/auth;
|
auth_basic_user_file /etc/openresty/auth;
|
||||||
add_header Content-Type text/plain;
|
add_header Content-Type text/plain;
|
||||||
|
|
Loading…
Reference in New Issue