We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd2267 commit d1f2f98Copy full SHA for d1f2f98
root/app/auto-proxy.sh
@@ -107,7 +107,7 @@ DUDE
107
if [ -z "${swag_address}" ]; then
108
swag_address="${CONTAINER}"
109
fi
110
- sed -i "s|<container_name>|${CONTAINER}|g" "/etc/nginx/http.d/auto-proxy-${CONTAINER}.subdomain.conf"
+ sed -i "s|<container_name>|${swag_address}|g" "/etc/nginx/http.d/auto-proxy-${CONTAINER}.subdomain.conf"
111
echo "**** Setting upstream address ${swag_address} for ${CONTAINER} ****"
112
if [ -z "${swag_port}" ]; then
113
swag_port=$(docker inspect ${CONTAINER} | jq -r '.[0].NetworkSettings.Ports | keys[0]' | sed 's|/.*||')
0 commit comments