1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

[TYPO] Removed useless = in nginx server_name variable

This commit is contained in:
Adrien Delle Cave 2021-04-04 01:31:15 +02:00
parent bc6631a330
commit 9065922eb8

View file

@ -147,7 +147,7 @@ configure_nginx () {
if [ -n "$fqdn" ]; then
fqdn_escape="$(echo -n "$fqdn"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')"
sed -i "s|\\(#server_name\\).*|server_name = $fqdn_escape;|" "$nginxfile"
sed -i "s|\\(#server_name\\).*|server_name $fqdn_escape;|" "$nginxfile"
fi
novncd_port_escape="$(echo -n "$novncd_port"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')"