feat(伪装站点): update
parent
d3cea3cca2
commit
5d7e5012bf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21
install.sh
21
install.sh
|
@ -942,7 +942,7 @@ nginxBlog() {
|
|||
if [[ "${nginxBlogInstallStatus}" == "y" ]]; then
|
||||
rm -rf /usr/share/nginx/html
|
||||
randomNum=$((RANDOM%6+1))
|
||||
wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${randomNum}.zip >/dev/null
|
||||
wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${randomNum}.zip >/dev/null
|
||||
unzip -o /usr/share/nginx/html${randomNum}.zip -d /usr/share/nginx/html >/dev/null
|
||||
rm -f /usr/share/nginx/html${randomNum}.zip*
|
||||
echoContent green " ---> 添加伪装站点成功"
|
||||
|
@ -950,7 +950,7 @@ nginxBlog() {
|
|||
else
|
||||
randomNum=$((RANDOM%6+1))
|
||||
rm -rf /usr/share/nginx/html
|
||||
wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${randomNum}.zip >/dev/null
|
||||
wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${randomNum}.zip >/dev/null
|
||||
unzip -o /usr/share/nginx/html${randomNum}.zip -d /usr/share/nginx/html >/dev/null
|
||||
rm -f /usr/share/nginx/html${randomNum}.zip*
|
||||
echoContent green " ---> 添加伪装站点成功"
|
||||
|
@ -2819,22 +2819,25 @@ updateNginxBlog() {
|
|||
echoContent skyBlue "\n进度 $1/${totalProgress} : 更换伪装站点"
|
||||
echoContent red "=============================================================="
|
||||
echoContent yellow "# 如需自定义,请手动复制模版文件到 /usr/share/nginx/html \n"
|
||||
echoContent yellow "1.数据统计模版"
|
||||
echoContent yellow "2.下雪动画用户注册登录模版"
|
||||
echoContent yellow "3.物流大数据服务平台模版"
|
||||
echoContent yellow "4.植物花卉模版"
|
||||
echoContent yellow "1.新手引导"
|
||||
echoContent yellow "2.游戏网站"
|
||||
echoContent yellow "3.个人博客01"
|
||||
echoContent yellow "4.企业站"
|
||||
echoContent yellow "5.解锁加密的音乐文件模版[https://github.com/ix64/unlock-music]"
|
||||
echoContent yellow "6.mikutap[https://github.com/HFIProgramming/mikutap]"
|
||||
echoContent yellow "7.企业站02"
|
||||
echoContent yellow "8.个人博客02"
|
||||
echoContent yellow "9.404自动跳转baidu"
|
||||
echoContent red "=============================================================="
|
||||
read -r -p "请选择:" selectInstallNginxBlogType
|
||||
|
||||
if [[ "${selectInstallNginxBlogType}" =~ ^[1-6]$ ]]; then
|
||||
if [[ "${selectInstallNginxBlogType}" =~ ^[1-9]$ ]]; then
|
||||
rm -rf /usr/share/nginx/html
|
||||
|
||||
if wget --help | grep -q show-progress; then
|
||||
wget -c -q --show-progress -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null
|
||||
wget -c -q --show-progress -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null
|
||||
else
|
||||
wget -c -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null
|
||||
wget -c -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null
|
||||
fi
|
||||
|
||||
unzip -o "/usr/share/nginx/html${selectInstallNginxBlogType}.zip" -d /usr/share/nginx/html >/dev/null
|
||||
|
|
Loading…
Reference in New Issue