Skip to content

Commit

Permalink
Merge pull request #618 from 0x6d61726b/patch-02_install-nginx-upstre…
Browse files Browse the repository at this point in the history
…am-wsnovncd

Fixes Quick Install overrides nginx upstream wssocketiod
  • Loading branch information
catborise committed Oct 30, 2023
2 parents 911bd54 + 5c6bcbe commit f912dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webvirtcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}

Expand Down

0 comments on commit f912dfc

Please sign in to comment.