Files
code/public/nginx.htaccess
2026-01-28 10:16:06 +08:00

7 lines
175 B
Plaintext

try_files $uri $uri/ /index.php?$args; #去掉index.php
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php?s=/$1 last;
}
}