From 80d4e27d9df1213f3984fa90c35eeb3391da242e Mon Sep 17 00:00:00 2001 From: richvdh Date: Mon, 28 Mar 2022 10:48:55 +0000 Subject: deploy: a4643a685cb4acb81a5655ef3a5c8b9bbc588c0c --- develop/reverse_proxy.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'develop/reverse_proxy.html') diff --git a/develop/reverse_proxy.html b/develop/reverse_proxy.html index da7df84ac7..52c7124cfc 100644 --- a/develop/reverse_proxy.html +++ b/develop/reverse_proxy.html @@ -333,7 +333,7 @@ matrix.example.com {

NOTE 3: Missing ProxyPreserveHost on can lead to a redirect loop.

HAProxy

frontend https
-  bind :::443 v4v6 ssl crt /etc/ssl/haproxy/ strict-sni alpn h2,http/1.1
+  bind *:443,[::]:443 ssl crt /etc/ssl/haproxy/ strict-sni alpn h2,http/1.1
   http-request set-header X-Forwarded-Proto https if { ssl_fc }
   http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
   http-request set-header X-Forwarded-For %[src]
@@ -346,7 +346,7 @@ matrix.example.com {
   use_backend matrix if matrix-host matrix-path
 
 frontend matrix-federation
-  bind :::8448 v4v6 ssl crt /etc/ssl/haproxy/synapse.pem alpn h2,http/1.1
+  bind *:8448,[::]:8448 ssl crt /etc/ssl/haproxy/synapse.pem alpn h2,http/1.1
   http-request set-header X-Forwarded-Proto https if { ssl_fc }
   http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
   http-request set-header X-Forwarded-For %[src]
-- 
cgit 1.5.1