From 8026f99709d58b6dfa0bc63f44d722156148d80d Mon Sep 17 00:00:00 2001 From: zhiwen Date: Thu, 2 Dec 2021 14:01:37 +0800 Subject: [PATCH] fix(nginx): system auto start nginx (#379) systemctl enable nginx --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 255f050..d6dfa1e 100644 --- a/install.sh +++ b/install.sh @@ -315,7 +315,8 @@ function configure_nginx() { cd /etc/nginx/conf.d/ && rm -f ${domain}.conf && wget -O ${domain}.conf https://raw.githubusercontent.com/wulabing/Xray_onekey/${github_branch}/config/web.conf sed -i "s/xxx/${domain}/g" ${nginx_conf} judge "Nginx 配置 修改" - + + systemctl enable nginx systemctl restart nginx }