mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix SC
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
f92d36a5f7
commit
204a24019f
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue