summary refs log tree commit diff
path: root/develop/reverse_proxy.html
diff options
context:
space:
mode:
authorrichvdh <richvdh@users.noreply.github.com>2022-03-28 10:48:55 +0000
committerrichvdh <richvdh@users.noreply.github.com>2022-03-28 10:48:55 +0000
commit80d4e27d9df1213f3984fa90c35eeb3391da242e (patch)
treeb7bbc5dbf69a445072769f7a27fe697bc8cb576c /develop/reverse_proxy.html
parentdeploy: 3c41d87b67d3a62edfc660b4fe8f2545f5dbee4f (diff)
downloadsynapse-80d4e27d9df1213f3984fa90c35eeb3391da242e.tar.xz
deploy: a4643a685cb4acb81a5655ef3a5c8b9bbc588c0c
Diffstat (limited to 'develop/reverse_proxy.html')
-rw-r--r--develop/reverse_proxy.html4
1 files changed, 2 insertions, 2 deletions
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 { <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]