This commit is contained in:
weiz 2023-11-21 13:31:53 +08:00
parent e500652c37
commit c119ea160b
2 changed files with 6 additions and 2 deletions

3
.gitignore vendored
View File

@ -5,5 +5,4 @@
/public/uploads/*
!/public/uploads/index.html
/runtime/*
!/runtime/index.html
/public/nginx.htaccess
!/runtime/index.html

5
public/nginx.htaccess Normal file
View File

@ -0,0 +1,5 @@
location / {
if (!-f $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
}
}