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

5 lines
120 B
Plaintext
Raw Normal View History

2023-04-14 16:01:06 +08:00
location / {
if (!-e $request_filename) {
rewrite ^/(.+\.(html|xml|json|htm|php|jsp|asp|shtml))$ /index.php?$1 last;
}
}