From ea46378eed47e0bfb8ba8dfb3cb8f43eecaf4150 Mon Sep 17 00:00:00 2001 From: wulabing Date: Mon, 15 Feb 2021 01:02:10 +0800 Subject: [PATCH] xray-0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [bugfix] modify_nginx 路径错误 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cd3f5ac..7096529 100644 --- a/install.sh +++ b/install.sh @@ -229,7 +229,7 @@ function modify_tls_version() { function modify_nginx() { nginx_conf="/etc/nginx/conf.d/${domain}.conf" - cd /usr/local/etc/xray && rm -f config.json && wget -O config.json https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/xray/config/xray_xtls-rprx-direct.json + cd /etc/nginx/conf.d/ && rm -f ${domain}.conf && wget -O ${domain}.conf https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/xray/config/xray_xtls-rprx-direct.json sed -i "/server_name/c \\\tserver_name ${domain};" ${nginx_conf} judge "Nginx config modify" }