mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +00:00
Merge pull request #423 from decryptus/master
[TYPO] Removed useless = in nginx server_name variable
This commit is contained in:
commit
e3398bd6ff
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ configure_nginx () {
|
||||||
|
|
||||||
if [ -n "$fqdn" ]; then
|
if [ -n "$fqdn" ]; then
|
||||||
fqdn_escape="$(echo -n "$fqdn"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')"
|
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
|
fi
|
||||||
|
|
||||||
novncd_port_escape="$(echo -n "$novncd_port"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')"
|
novncd_port_escape="$(echo -n "$novncd_port"|sed -e 's/[](){}<>=:\!\?\+\|\/\&$*.^[]/\\&/g')"
|
||||||
|
|
Loading…
Reference in a new issue