From 34cb21a2cf24c36fde03eb0665198e3745012193 Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Sat, 16 May 2020 16:01:43 +0200 Subject: [PATCH] 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 --- net/nginx/Makefile | 2 +- net/nginx/files-luci-support/luci.locations | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; }