修复下载功能

This commit is contained in:
2025-05-20 10:34:02 +08:00
parent 7542d76d39
commit 16d2fe4520
13 changed files with 2249 additions and 69 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;
}