From c516d0ca1f18a58b3ec6d6fbab603c44cee8cef5 Mon Sep 17 00:00:00 2001 From: 233boy Date: Sat, 5 Jan 2019 13:40:08 +0800 Subject: [PATCH] update caddy config --- src/caddy-config.sh | 4 ++-- v2ray.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/caddy-config.sh b/src/caddy-config.sh index bfaa032..76c35be 100644 --- a/src/caddy-config.sh +++ b/src/caddy-config.sh @@ -8,7 +8,7 @@ $domain { gzip timeouts none proxy / $proxy_site { - without /${path} + except /${path} } proxy /${path} 127.0.0.1:${v2ray_port} { without /${path} @@ -38,7 +38,7 @@ $domain { gzip timeouts none proxy / $proxy_site { - without /${path} + except /${path} } proxy /${path} https://127.0.0.1:${v2ray_port} { header_upstream Host {host} diff --git a/v2ray.sh b/v2ray.sh index e19ee38..5fed4e3 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.14-test" +_version="v3.15-test" cmd="apt-get"