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>
This commit is contained in:
parent
f5fdcf3e7e
commit
34cb21a2cf
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=nginx
|
PKG_NAME:=nginx
|
||||||
PKG_VERSION:=1.17.10
|
PKG_VERSION:=1.17.10
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://nginx.org/download/
|
PKG_SOURCE_URL:=https://nginx.org/download/
|
||||||
|
|
|
@ -13,4 +13,5 @@ location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /luci-static {
|
location /luci-static {
|
||||||
|
error_log stderr crit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue