mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 03:55:13 +08:00
🤞 Sync 2026-09-27 22:16:29
This commit is contained in:
1 parent
8ede4a8320
commit
618f51e9dc
459 files changed
+44817
-2191
No files matched your search
@@ -1,15 +1,12 @@
|
||||
# The default temporary storage space in OpenWrt may be limited.
|
||||
# To upload large files, please modify the `client_body_temp_path`
|
||||
# directory to a location with larger storage capacity.
|
||||
|
||||
client_max_body_size 0;
|
||||
client_body_buffer_size 128k;
|
||||
#client_body_temp_path /mnt/quickfile_tmp;
|
||||
|
||||
location /cgi-bin/luci/quickfile {
|
||||
proxy_cache off;
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_read_timeout 300;
|
||||
@@ -26,6 +23,7 @@ location /cgi-bin/luci/quickfile/api/ {
|
||||
proxy_cache off;
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_read_timeout 300;
|
||||
@@ -35,7 +33,7 @@ location /cgi-bin/luci/quickfile/api/ {
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
rewrite ^/cgi-bin/luci/quickfile/api/(.*) /api/$1?host=$scheme://$host break;
|
||||
rewrite ^/cgi-bin/luci/quickfile/api/(.*) /api/$1 break;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
|
||||
}
|
||||
|
||||
@@ -43,6 +41,6 @@ location /cgi-bin/luci/quickfile-static/ {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
rewrite ^/cgi-bin/luci/quickfile-static/(.*) /static/$1?host=$scheme://$host break;
|
||||
rewrite ^/cgi-bin/luci/quickfile-static/(.*) /static/$1 break;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
|
||||
}
|
||||
Reference in new issue
Block a user