mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
Fixes issue #614: Quick Install overrides nginx upstream wssocketiod port
This commit is contained in:
parent
9a675918c6
commit
5c6bcbe610
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ configure_nginx () {
|
|||
fi
|
||||
|
||||
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"
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue