This commit is contained in:
云泽网
2025-05-20 23:32:46 +08:00
20 changed files with 2658 additions and 283 deletions
+8 -5
View File
@@ -1,8 +1,11 @@
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
# 处理 storage 目录的请求
location /storage/ {
try_files $uri $uri/ /index.php?s=$uri&$args;
}