diff --git a/net/nginx/Makefile b/net/nginx/Makefile index a96cc70e888165..c9fa897dbe7afd 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx PKG_VERSION:=1.26.1 -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 374ee5d9fc7e41..f69917d289206d 100644 --- a/net/nginx/files-luci-support/luci.locations +++ b/net/nginx/files-luci-support/luci.locations @@ -1,3 +1,7 @@ +location =/ { + return 301 /cgi-bin/luci/; +} + location /cgi-bin/luci { index index.html; include uwsgi_params;