Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5313 from twrist/patch-1
Browse files Browse the repository at this point in the history
Update HAProxy example rules
  • Loading branch information
richvdh authored Jun 26, 2019
2 parents 2d91988 + 0df5b41 commit 47fa836
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5313.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update example haproxy config to a more compatible setup.
6 changes: 4 additions & 2 deletions docs/reverse_proxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ Let's assume that we expect clients to connect to our server at
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
acl matrix-host hdr(host) -i matrix.example.com
acl matrix-path path_beg /_matrix

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
Expand Down

0 comments on commit 47fa836

Please sign in to comment.