nginx: set log level to crit for luci-static
authorPeter Stadler <peter.stadler@student.uibk.ac.at>
Sat, 16 May 2020 14:01:43 +0000 (16:01 +0200)
committerPeter Stadler <peter.stadler@student.uibk.ac.at>
Sun, 24 May 2020 16:53:16 +0000 (18:53 +0200)
Do not write errors for inexistent files to the system log.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
net/nginx/Makefile
net/nginx/files-luci-support/luci.locations

index 2be5c6e9b41d42aa724a17e511ea5d2b6c3d3995..084436067e91c9dec449b30b123f98470bc435c6 100644 (file)
@@ -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/
index 3ea3de914c51851fc9797e834dbbf77f268053f8..374ee5d9fc7e4185ebeac561fafb8726a1de68f5 100644 (file)
@@ -13,4 +13,5 @@ location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
 }
 
 location /luci-static {
+               error_log stderr crit;
 }