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

4 lines
157 B
Plaintext
Raw Normal View History

2024-07-23 14:48:37 +08:00
location / {
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
}