mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-24 17:22:12 -04:00
missed spot
This commit is contained in:
@@ -107,7 +107,7 @@ DUDE
|
||||
if [ -z "${swag_address}" ]; then
|
||||
swag_address="${CONTAINER}"
|
||||
fi
|
||||
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"
|
||||
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|/.*||')
|
||||
|
||||
Reference in New Issue
Block a user