From: Peter Stadler Date: Sat, 16 May 2020 14:01:43 +0000 (+0200) Subject: nginx: set log level to crit for luci-static X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=34cb21a2cf24c36fde03eb0665198e3745012193;p=openwrt-packages.git nginx: set log level to crit for luci-static Do not write errors for inexistent files to the system log. Signed-off-by: Peter Stadler --- diff --git a/net/nginx/Makefile b/net/nginx/Makefile index 2be5c6e9b..084436067 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx PKG_VERSION:=1.17.10 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://nginx.org/download/ diff --git a/net/nginx/files-luci-support/luci.locations b/net/nginx/files-luci-support/luci.locations index 3ea3de914..374ee5d9f 100644 --- a/net/nginx/files-luci-support/luci.locations +++ b/net/nginx/files-luci-support/luci.locations @@ -13,4 +13,5 @@ location ~ /cgi-bin/cgi-(backup|download|upload|exec) { } location /luci-static { + error_log stderr crit; }