Skip to content

Commit

Permalink
fix SC
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Aug 30, 2023
1 parent f92d36a commit 204a240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Containers/docker-socket-proxy/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ echo "$HAPROXYFILE" > /tmp/haproxy.cfg

IPv6_ADDRESS_NC="$(dig nextcloud-aio-nextcloud AAAA +short | grep '^[0-9a-f:]\+$' | sort | head -n1)"
HAPROXYFILE="$(sed "s# || { src NC_IPV6_PLACEHOLDER }##g" /tmp/haproxy.cfg)"
# shellcheck disable=SC2001
HAPROXYFILE="$(echo "$HAPROXYFILE" | sed "s|NC_IPV6_PLACEHOLDER|$IPv6_ADDRESS_NC|")"
echo "$HAPROXYFILE" > /tmp/haproxy.cfg
set +x
Expand Down

0 comments on commit 204a240

Please sign in to comment.