Skip to content

Commit d1f2f98

Browse files
committed
missed spot
1 parent edd2267 commit d1f2f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/app/auto-proxy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ DUDE
107107
if [ -z "${swag_address}" ]; then
108108
swag_address="${CONTAINER}"
109109
fi
110-
sed -i "s|<container_name>|${CONTAINER}|g" "/etc/nginx/http.d/auto-proxy-${CONTAINER}.subdomain.conf"
110+
sed -i "s|<container_name>|${swag_address}|g" "/etc/nginx/http.d/auto-proxy-${CONTAINER}.subdomain.conf"
111111
echo "**** Setting upstream address ${swag_address} for ${CONTAINER} ****"
112112
if [ -z "${swag_port}" ]; then
113113
swag_port=$(docker inspect ${CONTAINER} | jq -r '.[0].NetworkSettings.Ports | keys[0]' | sed 's|/.*||')

0 commit comments

Comments
 (0)