mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
update-02.16
This commit is contained in:
parent
c9e03b337b
commit
07e2ecebf0
@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=UnblockNeteaseMusic
|
||||
PKG_BASE_VERSION:=0.27.0-rc.4
|
||||
PKG_RELEASE:=79
|
||||
PKG_RELEASE:=81
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git
|
||||
PKG_SOURCE_DATE:=2021-12-21
|
||||
PKG_SOURCE_VERSION:=3ed1825fc68d84757212dd683e10a5fc25d91088
|
||||
PKG_SOURCE_VERSION:=068794813188d8543f6a2f396907ce1b55351e77
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
||||
PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION))
|
||||
|
@ -7,7 +7,7 @@ config server '_lan'
|
||||
list listen '[::]:80 default_server'
|
||||
option server_name 'op'
|
||||
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'
|
||||
option access_log 'off; # logd openwrt'
|
||||
|
||||
@ -16,7 +16,7 @@ config server '_ssl'
|
||||
list listen '[::]:443 ssl'
|
||||
option server_name '_ssl'
|
||||
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'
|
||||
option ssl_certificate '/etc/nginx/conf.d/_lan.crt'
|
||||
option ssl_certificate_key '/etc/nginx/conf.d/_lan.key'
|
||||
|
@ -3,8 +3,8 @@
|
||||
grep -q "host/luci" /etc/config/nginx || {
|
||||
uci -q set nginx._lan.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._ssl.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://$http_host/luci/ permanent'
|
||||
uci commit nginx
|
||||
service nginx reload
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user