Files
Epay/install/nginx.txt
2020-02-21 16:21:31 +08:00

13 lines
240 B
Plaintext

location / {
if (!-e $request_filename) {
rewrite ^(.[a-zA-Z0-9\-\_]+).html$ /index.php?mod=$1 last;
rewrite ^pay/(.*)$ /pay.php?s=$1 last;
break;
}
}
location ^~ /includes {
deny all;
}
location ^~ /plugins {
deny all;
}