Browse Source

nginx: fix missing cgi-exec definition

Add missing cgi-io exec definition to fix broken
luci webui as now it does actually use it.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
lilik-openwrt-22.03
Ansuel Smith 5 years ago
parent
commit
85b09eebb2
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/nginx/Makefile
  2. +1
    -1
      net/nginx/files-luci-support/luci_uwsgi.conf

+ 1
- 1
net/nginx/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nginx PKG_NAME:=nginx
PKG_VERSION:=1.17.5 PKG_VERSION:=1.17.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://nginx.org/download/ PKG_SOURCE_URL:=https://nginx.org/download/


+ 1
- 1
net/nginx/files-luci-support/luci_uwsgi.conf View File

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


Loading…
Cancel
Save