mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Merge pull request #5313 from twrist/patch-1
Update HAProxy example rules
This commit is contained in:
commit
47fa836abb
1
changelog.d/5313.misc
Normal file
1
changelog.d/5313.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Update example haproxy config to a more compatible setup.
|
@ -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
|
bind :::443 v4v6 ssl crt /etc/ssl/haproxy/ strict-sni alpn h2,http/1.1
|
||||||
|
|
||||||
# Matrix client traffic
|
# Matrix client traffic
|
||||||
acl matrix hdr(host) -i matrix.example.com
|
acl matrix-host hdr(host) -i matrix.example.com
|
||||||
use_backend matrix if matrix
|
acl matrix-path path_beg /_matrix
|
||||||
|
|
||||||
|
use_backend matrix if matrix-host matrix-path
|
||||||
|
|
||||||
frontend matrix-federation
|
frontend matrix-federation
|
||||||
bind :::8448 v4v6 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
|
||||||
|
Loading…
Reference in New Issue
Block a user