From a741b568d76f3fc3d691e10e40bfb08aca911f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Sat, 31 Jul 2021 15:58:20 +0200 Subject: [PATCH] matrix-synapse: allow lighttpd to listen on IPv6 --- charts/matrix-synapse/templates/well-known-config.yaml | 3 +++ charts/matrix-synapse/values.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/charts/matrix-synapse/templates/well-known-config.yaml b/charts/matrix-synapse/templates/well-known-config.yaml index 8b9cef1..bd2274e 100644 --- a/charts/matrix-synapse/templates/well-known-config.yaml +++ b/charts/matrix-synapse/templates/well-known-config.yaml @@ -11,6 +11,9 @@ metadata: data: lighttpd.conf: | server.port = 8080 + {{ if .Values.wellknown.useIpv6}} + server.use-ipv6 = "enable" + {{ end }} server.modules = ( "mod_rewrite", "mod_status", diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index d98f738..2bbd971 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -510,6 +510,10 @@ wellknown: enabled: false replicaCount: 1 + # Lighttpd does not bind on IPv6 by default, although this is required in + # Ipv6-only clusters. + useIpv6: false + ## The host and port combo to serve on .well-known/matrix/server. ## server: {}