1Panel/cmd/server/nginx_conf/rewrite/mvc.conf

7 lines
100 B
Plaintext

location /{
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php/$1 last;
break;
}
}