glhcp/nginx.rewrite

5 lines
97 B
Plaintext
Raw Normal View History

2023-08-10 06:59:52 +00:00
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}