mirror of https://github.com/wulabing/Xray_onekey
parent
ecbe920c70
commit
8026f99709
|
@ -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
|
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}
|
sed -i "s/xxx/${domain}/g" ${nginx_conf}
|
||||||
judge "Nginx 配置 修改"
|
judge "Nginx 配置 修改"
|
||||||
|
|
||||||
|
systemctl enable nginx
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue