location / {
# Authorization
auth_basic "Authorization required";
auth_basic_user_file /data/access/5;
proxy_set_header Authorization "";
# Access Rules
deny all;
# Access checks must...
satisfy any;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.202:30013;
}
评论区