Browse Source

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>
lilik-openwrt-22.03
Peter Stadler 5 years ago
parent
commit
34cb21a2cf
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/nginx/Makefile
  2. +1
    -0
      net/nginx/files-luci-support/luci.locations

+ 1
- 1
net/nginx/Makefile View File

@ -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/


+ 1
- 0
net/nginx/files-luci-support/luci.locations View File

@ -13,4 +13,5 @@ location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
} }
location /luci-static { location /luci-static {
error_log stderr crit;
} }

Loading…
Cancel
Save