Files
1Panel/agent/cmd/server/nginx_conf/path_auth.conf
CityFun 1a4198207c fix(website): prevent PHP source exposure and auth bypass in path basic auth (#14528)
* fix(website): prevent PHP source exposure and auth bypass in path basic auth

* fix(website): preserve sensitive-file deny rules inside priority path auth locations
2026-11-25 18:01:36 +08:00

4 lines
107 B
Plaintext

location ^~ /test/ {
auth_basic "Authorization";
auth_basic_user_file /www/site/pass/ceshi.pass ;
}