修复下载功能
This commit is contained in:
@@ -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