Element Synapse: drop the ::1 listener so a container without IPv6 starts (#18180)

This commit is contained in:
CanbiZ (MickLesk)
2026-10-25 13:45:56 +01:00
committed by GitHub
parent c62f9da4c6
commit ac51382b21
+1 -1
View File
@@ -40,7 +40,7 @@ chmod +x /usr/sbin/policy-rc.d
$STD apt install matrix-synapse-py3 -y
rm -f /usr/sbin/policy-rc.d
sed -i 's/127.0.0.1/0.0.0.0/g' /etc/matrix-synapse/homeserver.yaml
sed -i 's/'\''::1'\'', //g' /etc/matrix-synapse/homeserver.yaml
sed -i '/^ *- ::1$/d' /etc/matrix-synapse/homeserver.yaml
SECRET=$(openssl rand -hex 32)
ADMIN_PASS="$(random_password 13)"
echo "enable_registration_without_verification: true" >>/etc/matrix-synapse/homeserver.yaml