likeshop/nginx.rewrite
2021-08-25 11:10:52 +08:00

5 lines
No EOL
97 B
Text

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