mirror of
https://github.com/fscarmen/sing-box.git
synced 2026-08-10 17:55:16 +08:00
Fix bug where UUID was missing from nginx config path after changing port.
This commit is contained in:
+1
-1
@@ -2900,7 +2900,7 @@ change_start_port() {
|
||||
[ -s ${WORK_DIR}/conf/${CONF_FILES[a]} ] && sed -i "s/\(.*listen_port.*:\)$((OLD_START_PORT+a))/\1$((START_PORT+a))/" ${WORK_DIR}/conf/*
|
||||
done
|
||||
fetch_nodes_value
|
||||
[ -n "$PORT_NGINX" ] && export_nginx_conf_file
|
||||
[ -n "$PORT_NGINX" ] && UUID_CONFIRM=$(sed -n 's#.*location[ ]\+\/\(.*\)-v[ml]ess.*#\1#gp' /etc/sing-box/nginx.conf | sed -n '1p') && export_nginx_conf_file
|
||||
cmd_systemctl enable sing-box
|
||||
[ -n "$ARGO_DOMAIN" ] && export_argo_json_file
|
||||
sleep 2
|
||||
|
||||
Reference in New Issue
Block a user