summary refs log tree commit diff
path: root/latest/reverse_proxy.html
diff options
context:
space:
mode:
Diffstat (limited to 'latest/reverse_proxy.html')
-rw-r--r--latest/reverse_proxy.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/latest/reverse_proxy.html b/latest/reverse_proxy.html

index da7df84ac7..52c7124cfc 100644 --- a/latest/reverse_proxy.html +++ b/latest/reverse_proxy.html
@@ -333,7 +333,7 @@ matrix.example.com { <p><strong>NOTE 3</strong>: Missing <code>ProxyPreserveHost on</code> can lead to a redirect loop.</p> <h3 id="haproxy"><a class="header" href="#haproxy">HAProxy</a></h3> <pre><code>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]