From 85b09eebb2541ceacc01dd4f353c13089d06c82c Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sun, 29 Dec 2019 01:09:21 +0100 Subject: [PATCH] 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 --- net/nginx/Makefile | 2 +- net/nginx/files-luci-support/luci_uwsgi.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/nginx/Makefile b/net/nginx/Makefile index d558bfdd6..13e50baaf 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx PKG_VERSION:=1.17.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://nginx.org/download/ diff --git a/net/nginx/files-luci-support/luci_uwsgi.conf b/net/nginx/files-luci-support/luci_uwsgi.conf index 404eff2a6..3ea3de914 100644 --- a/net/nginx/files-luci-support/luci_uwsgi.conf +++ b/net/nginx/files-luci-support/luci_uwsgi.conf @@ -5,7 +5,7 @@ location /cgi-bin/luci { uwsgi_modifier1 9; 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; uwsgi_param SERVER_ADDR $server_addr; uwsgi_modifier1 9;