Browse Source

Update nginx_luci.patch

kiddin9 4 years ago
parent
commit
2eedc77b81
1 changed files with 3 additions and 1 deletions
  1. 3 1
      devices/common/patches/nginx_luci.patch

+ 3 - 1
devices/common/patches/nginx_luci.patch

@@ -1,6 +1,6 @@
 --- a/package/feeds/packages/nginx/files-luci-support/luci.locations
 +++ b/package/feeds/packages/nginx/files-luci-support/luci.locations
-@@ -1,11 +1,12 @@
+@@ -1,12 +1,14 @@
 -location /cgi-bin/luci {
 +location /luci {
  		index  index.html;
@@ -13,8 +13,10 @@
 -location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
 +location ~ /cgi-(backup|download|upload|exec) {
  		include uwsgi_params;
++		uwsgi_read_timeout 300s;
  		uwsgi_param SERVER_ADDR $server_addr;
  		uwsgi_modifier1 9;
+ 		uwsgi_pass unix:////var/run/luci-cgi_io.socket;
 
 --- a/package/network/services/dnsmasq/files/dnsmasq.init
 +++ b/package/network/services/dnsmasq/files/dnsmasq.init