From d1f2f98800c4ed0df99c5b46238975f7280907a4 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 3 Jun 2021 09:53:25 -0400 Subject: [PATCH] missed spot --- root/app/auto-proxy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/app/auto-proxy.sh b/root/app/auto-proxy.sh index e36b97f..5241b8b 100755 --- a/root/app/auto-proxy.sh +++ b/root/app/auto-proxy.sh @@ -107,7 +107,7 @@ DUDE if [ -z "${swag_address}" ]; then swag_address="${CONTAINER}" fi - sed -i "s||${CONTAINER}|g" "/etc/nginx/http.d/auto-proxy-${CONTAINER}.subdomain.conf" + sed -i "s||${swag_address}|g" "/etc/nginx/http.d/auto-proxy-${CONTAINER}.subdomain.conf" echo "**** Setting upstream address ${swag_address} for ${CONTAINER} ****" if [ -z "${swag_port}" ]; then swag_port=$(docker inspect ${CONTAINER} | jq -r '.[0].NetworkSettings.Ports | keys[0]' | sed 's|/.*||')