mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-13 11:54:29 +08:00
🎨 Sync 2026-07-04 18:41:29
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=quickfile
|
||||
PKG_VERSION:=1.0.25
|
||||
PKG_RELEASE:=10
|
||||
PKG_RELEASE:=11
|
||||
|
||||
PKG_SOURCE:=quickfile-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://r2.cooluc.com/source
|
||||
|
||||
@@ -19,7 +19,7 @@ location /cgi-bin/luci/quickfile {
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock:;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
|
||||
}
|
||||
|
||||
location /cgi-bin/luci/quickfile/api/ {
|
||||
@@ -36,7 +36,7 @@ location /cgi-bin/luci/quickfile/api/ {
|
||||
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;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock:/api/;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
|
||||
}
|
||||
|
||||
location /cgi-bin/luci/quickfile-static/ {
|
||||
@@ -44,5 +44,5 @@ location /cgi-bin/luci/quickfile-static/ {
|
||||
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;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock:/static/;
|
||||
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user