修复下载功能
This commit is contained in:
1 parent
7542d76d39
commit
16d2fe4520
13 files changed
+2249
-69
No files matched your search
@@ -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;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 305 KiB |
Reference in new issue
Block a user