浏览代码

Update nginx_luci.patch

fix when call api like http://ip/cgi-bin/luci/rpc/auth
edwin19861218 4 年之前
父节点
当前提交
b39f4fc824
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;