update
This commit is contained in:
+6
-6
@@ -17,12 +17,6 @@
|
||||
<lastmod>2019-06-14T16:29:13+08:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://snail007.goproxyauth.com/goproxy/tags/cdn/</loc>
|
||||
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://snail007.goproxyauth.com/goproxy/categories/</loc>
|
||||
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
|
||||
@@ -47,6 +41,12 @@
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://snail007.goproxyauth.com/goproxy/tags/cdn/</loc>
|
||||
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://snail007.goproxyauth.com/goproxy/tags/cloudflare/</loc>
|
||||
<lastmod>2019-07-05T08:20:48+08:00</lastmod>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
|
||||
<title>CDN - GOPROXY IN ACTION</title>
|
||||
<title>cdn - GOPROXY IN ACTION</title>
|
||||
|
||||
<link href="https://snail007.goproxyauth.com/goproxy/css/styles.css" rel="stylesheet">
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
|
||||
<header class="page-header">
|
||||
<h1>CDN</h1>
|
||||
<h1>cdn</h1>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>CDN on GOPROXY IN ACTION</title>
|
||||
<title>cdn on GOPROXY IN ACTION</title>
|
||||
<link>https://snail007.goproxyauth.com/goproxy/tags/cdn/</link>
|
||||
<description>Recent content in CDN on GOPROXY IN ACTION</description>
|
||||
<description>Recent content in cdn on GOPROXY IN ACTION</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>zh-CN</language>
|
||||
<lastBuildDate>Fri, 05 Jul 2019 08:20:48 +0800</lastBuildDate>
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
<item>
|
||||
<title>CDN</title>
|
||||
<title>cdn</title>
|
||||
<link>https://snail007.goproxyauth.com/goproxy/tags/cdn/</link>
|
||||
<pubDate>Fri, 05 Jul 2019 08:20:48 +0800</pubDate>
|
||||
|
||||
|
||||
+6
-3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user