From 8e4e0e548e4c25d1d9c4fdcc255352bb61855fa1 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Thu, 21 Sep 2023 19:55:42 +0100 Subject: [PATCH] Escaped nginx variables --- xmpp-wizard.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmpp-wizard.sh b/xmpp-wizard.sh index d1b5cd6..687368c 100644 --- a/xmpp-wizard.sh +++ b/xmpp-wizard.sh @@ -863,8 +863,8 @@ server { } server { - if ($host = ${domains[3]}) { - return 301 https://$host$request_uri; + if (\$host = ${domains[3]}) { + return 301 https://\$host\$request_uri; }