Browse Source

Update nginx_luci.patch

fix when call api like http://ip/cgi-bin/luci/rpc/auth
edwin19861218 4 years ago
parent
commit
b39f4fc824
1 changed files with 1 additions and 1 deletions
  1. 1 1
      devices/common/patches/nginx_luci.patch

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

@@ -10,7 +10,7 @@
  		uwsgi_pass unix:////var/run/luci-webui.socket;
  }
 -location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
-+location ~ /cgi-(backup|download|upload|exec) {
++location ~ /cgi-(backup|download|upload|exec|bin) {
  		include uwsgi_params;
 +		uwsgi_read_timeout 300s;
  		uwsgi_param SERVER_ADDR $server_addr;