aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stadler <peter.stadler@student.uibk.ac.at>2020-05-16 16:01:43 +0200
committerPeter Stadler <peter.stadler@student.uibk.ac.at>2020-05-24 18:53:16 +0200
commit34cb21a2cf24c36fde03eb0665198e3745012193 (patch)
tree54bc7723b522fb38a8ce79661410b33047cfcca1
parentf5fdcf3e7eb2671d16d5eabc63882252855ca571 (diff)
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 <peter.stadler@student.uibk.ac.at>
-rw-r--r--net/nginx/Makefile2
-rw-r--r--net/nginx/files-luci-support/luci.locations1
2 files changed, 2 insertions, 1 deletions
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;
}