update-02.16

This commit is contained in:
github-actions[bot] 2022-02-16 20:29:23 +08:00
parent c9e03b337b
commit 07e2ecebf0
3 changed files with 6 additions and 6 deletions

View File

@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=UnblockNeteaseMusic PKG_NAME:=UnblockNeteaseMusic
PKG_BASE_VERSION:=0.27.0-rc.4 PKG_BASE_VERSION:=0.27.0-rc.4
PKG_RELEASE:=79 PKG_RELEASE:=81
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git
PKG_SOURCE_DATE:=2021-12-21 PKG_SOURCE_DATE:=2021-12-21
PKG_SOURCE_VERSION:=3ed1825fc68d84757212dd683e10a5fc25d91088 PKG_SOURCE_VERSION:=068794813188d8543f6a2f396907ce1b55351e77
PKG_MIRROR_HASH:=skip PKG_MIRROR_HASH:=skip
PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION)) PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION))

View File

@ -7,7 +7,7 @@ config server '_lan'
list listen '[::]:80 default_server' list listen '[::]:80 default_server'
option server_name 'op' option server_name 'op'
option index 'luci index.html index.htm' option index 'luci index.html index.htm'
list rewrite '"^/$" $scheme://$host/luci/ permanent' list rewrite '"^/$" $scheme://$http_host/luci/ permanent'
list include 'conf.d/*.locations' list include 'conf.d/*.locations'
option access_log 'off; # logd openwrt' option access_log 'off; # logd openwrt'
@ -16,7 +16,7 @@ config server '_ssl'
list listen '[::]:443 ssl' list listen '[::]:443 ssl'
option server_name '_ssl' option server_name '_ssl'
option index 'luci index.html index.htm' option index 'luci index.html index.htm'
list rewrite '"^/$" $scheme://$host/luci/ permanent' list rewrite '"^/$" $scheme://$http_host/luci/ permanent'
list include 'conf.d/*.locations' list include 'conf.d/*.locations'
option ssl_certificate '/etc/nginx/conf.d/_lan.crt' option ssl_certificate '/etc/nginx/conf.d/_lan.crt'
option ssl_certificate_key '/etc/nginx/conf.d/_lan.key' option ssl_certificate_key '/etc/nginx/conf.d/_lan.key'

View File

@ -3,8 +3,8 @@
grep -q "host/luci" /etc/config/nginx || { grep -q "host/luci" /etc/config/nginx || {
uci -q set nginx._lan.index="luci index.html index.htm" uci -q set nginx._lan.index="luci index.html index.htm"
uci -q set nginx._ssl.index="luci index.html index.htm" uci -q set nginx._ssl.index="luci index.html index.htm"
uci -q add_list nginx._lan.rewrite='"^/$" $scheme://$host/luci/ permanent' uci -q add_list nginx._lan.rewrite='"^/$" $scheme://$http_host/luci/ permanent'
uci -q add_list nginx._ssl.rewrite='"^/$" $scheme://$host/luci/ permanent' uci -q add_list nginx._ssl.rewrite='"^/$" $scheme://$http_host/luci/ permanent'
uci commit nginx uci commit nginx
service nginx reload service nginx reload
} }