diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 26b0c0f..c1fad7b 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -18,31 +18,31 @@
- https://snail007.goproxyauth.com/goproxy/tags/cdn/
+ https://snail007.goproxyauth.com/goproxy/categories/
2019-07-05T08:20:48+08:00
0
- https://snail007.goproxyauth.com/goproxy/categories/
+ https://snail007.goproxyauth.com/goproxy/
2019-07-05T08:20:48+08:00
0
- https://snail007.goproxyauth.com/goproxy/
+ https://snail007.goproxyauth.com/goproxy/posts/
2019-07-05T08:20:48+08:00
0
- https://snail007.goproxyauth.com/goproxy/posts/
+ https://snail007.goproxyauth.com/goproxy/tags/
2019-07-05T08:20:48+08:00
0
- https://snail007.goproxyauth.com/goproxy/tags/
+ https://snail007.goproxyauth.com/goproxy/tags/cdn/
2019-07-05T08:20:48+08:00
0
diff --git a/docs/tags/cdn/index.html b/docs/tags/cdn/index.html
index 2e619ce..921a8b2 100644
--- a/docs/tags/cdn/index.html
+++ b/docs/tags/cdn/index.html
@@ -14,7 +14,7 @@
-
CDN - GOPROXY IN ACTION
+ cdn - GOPROXY IN ACTION
@@ -77,7 +77,7 @@
diff --git a/docs/tags/cdn/index.xml b/docs/tags/cdn/index.xml
index 277430e..b6365bc 100644
--- a/docs/tags/cdn/index.xml
+++ b/docs/tags/cdn/index.xml
@@ -1,9 +1,9 @@
- CDN on GOPROXY IN ACTION
+ cdn on GOPROXY IN ACTION
https://snail007.goproxyauth.com/goproxy/tags/cdn/
- Recent content in CDN on GOPROXY IN ACTION
+ Recent content in cdn on GOPROXY IN ACTION
Hugo -- gohugo.io
zh-CN
Fri, 05 Jul 2019 08:20:48 +0800
diff --git a/docs/tags/index.xml b/docs/tags/index.xml
index 7d5472a..e06ddc2 100644
--- a/docs/tags/index.xml
+++ b/docs/tags/index.xml
@@ -12,7 +12,7 @@
-
- CDN
+ cdn
https://snail007.goproxyauth.com/goproxy/tags/cdn/
Fri, 05 Jul 2019 08:20:48 +0800
diff --git a/install_auto.sh b/install_auto.sh
index 6623760..a9ea159 100755
--- a/install_auto.sh
+++ b/install_auto.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+if [ "$1" == "cn" ]; then
+ MIRROR="https://mirrors.goproxyauth.com/"
+fi
F="proxy-linux-amd64.tar.gz"
set -e
if [ -e /tmp/proxy ]; then
@@ -8,9 +11,9 @@ mkdir /tmp/proxy
cd /tmp/proxy
echo -e "\n>>> downloading ... $F\n"
-manual="https://snail007.host900.com/goproxy/manual/zh/"
-LAST_VERSION=$(curl --silent "https://mirrors.host900.com/https://api.github.com/repos/snail007/goproxy/releases/latest" | grep -Po '"tag_name":"\K.*?(?=")')
-wget -t 1 "https://mirrors.host900.com/https://github.com/snail007/goproxy/releases/download/${LAST_VERSION}/$F"
+manual="https://snail007.goproxyauth.com/goproxy/manual/zh/"
+LAST_VERSION=$(curl --silent "${MIRROR}https://api.github.com/repos/snail007/goproxy/releases/latest" | grep -Po '"tag_name": *"\K.*?(?=")')
+wget -t 1 "${MIRROR}https://github.com/snail007/goproxy/releases/download/${LAST_VERSION}/$F"
echo -e ">>> installing ... \n"
# #install proxy
diff --git a/install_auto_commercial.sh b/install_auto_commercial.sh
index eccc04d..15af46a 100755
--- a/install_auto_commercial.sh
+++ b/install_auto_commercial.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+MIRROR=""
+if [ "$1" == "cn" ]; then
+ MIRROR="https://mirrors.goproxyauth.com/"
+fi
F="proxy-linux-amd64_commercial.tar.gz"
set -e
if [ -e /tmp/proxy ]; then
@@ -7,9 +11,9 @@ fi
mkdir /tmp/proxy
cd /tmp/proxy
echo -e "\n>>> downloading ... $F\n"
-manual="https://snail007.host900.com/goproxy/manual/zh/"
-LAST_VERSION=$(curl --silent "https://mirrors.host900.com/https://api.github.com/repos/snail007/goproxy/releases/latest" | grep -Po '"tag_name":"\K.*?(?=")')
-wget -t 1 "https://mirrors.host900.com/https://github.com/snail007/goproxy/releases/download/${LAST_VERSION}/$F"
+manual="https://snail007.goproxyauth.com/goproxy/manual/zh/"
+LAST_VERSION=$(curl --silent "${MIRROR}https://api.github.com/repos/snail007/goproxy/releases/latest" | grep -Po '"tag_name": *"\K.*?(?=")')
+wget -t 1 "${MIRROR}https://github.com/snail007/goproxy/releases/download/${LAST_VERSION}/$F"
echo -e ">>> installing ... \n"
# #install proxy