1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-01-13 17:05:17 +00:00

Fixes issue #614: Quick Install overrides nginx upstream wssocketiod port

This commit is contained in:
Mark 2023-10-26 22:18:17 +02:00
parent 9a675918c6
commit 5c6bcbe610
No known key found for this signature in database
GPG key ID: 27832B9439353C16

View file

@ -174,7 +174,7 @@ configure_nginx () {
fi fi
novncd_port_escape="$(echo -n "$novncd_port"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')" novncd_port_escape="$(echo -n "$novncd_port"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')"
sed -i "s|\\(server 127.0.0.1:\\).*|\\1$novncd_port_escape;|" "$nginxfile" sed -i "s|server 127.0.0.1:6080;|server 127.0.0.1:$novncd_port_escape;|" "$nginxfile"
} }