[Nginx] Use SOGo IPv4 for upstream

This commit is contained in:
FreddleSpl0it
2024-12-09 09:50:16 +01:00
parent d1af52b4e7
commit 8853e2c44a
3 changed files with 11 additions and 10 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
#!/bin/sh
until ping ${REDISHOST} -c1 > /dev/null; do
echo "Waiting for Redis..."
sleep 1
done
PHPFPMHOST=${PHPFPMHOST:-"php-fpm-mailcow"}
SOGOHOST=${SOGOHOST:-"$IPV4_NETWORK.248"}
RSPAMDHOST=${RSPAMDHOST:-"rspamd-mailcow"}
until ping ${PHPFPMHOST} -c1 > /dev/null; do
echo "Waiting for PHP..."
sleep 1