Skip to content

Commit

Permalink
Fix v4v6 option in HAProxy example config (matrix-org#4790)
Browse files Browse the repository at this point in the history
The v4v6 option only has a usage one ipv6 socket: https://serverfault.com/q/747895

Signed-off-by: Flakebi <[email protected]>
  • Loading branch information
Flakebi authored and richvdh committed Mar 4, 2019
1 parent 856c83f commit aba5eea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelog.d/4790.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix v4v6 option in HAProxy example config. Contributed by Flakebi.
12 changes: 5 additions & 7 deletions docs/reverse_proxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,16 @@ Let's assume that we expect clients to connect to our server at
* HAProxy::

frontend https
bind 0.0.0.0:443 v4v6 ssl crt /etc/ssl/haproxy/ strict-sni alpn h2,http/1.1
bind :::443 ssl crt /etc/ssl/haproxy/ strict-sni alpn h2,http/1.1
bind :::443 v4v6 ssl crt /etc/ssl/haproxy/ strict-sni alpn h2,http/1.1

# Matrix client traffic
acl matrix hdr(host) -i matrix.example.com
use_backend matrix if matrix

frontend matrix-federation
bind 0.0.0.0:8448 v4v6 ssl crt /etc/ssl/haproxy/synapse.pem alpn h2,http/1.1
bind :::8448 ssl crt /etc/ssl/haproxy/synapse.pem alpn h2,http/1.1
bind :::8448 v4v6 ssl crt /etc/ssl/haproxy/synapse.pem alpn h2,http/1.1
default_backend matrix

backend matrix
server matrix 127.0.0.1:8008

Expand Down

0 comments on commit aba5eea

Please sign in to comment.