1Panel/agent/cmd/server/nginx_conf/rewrite/thinkphp.conf

8 lines
149 B
Plaintext
Raw Normal View History

2024-07-23 14:48:37 +08:00
location ~* (runtime|application)/ {
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}