mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 21:49:22 -05:00
Add domain specific matching for haproxy config (#11128)
This commit is contained in:
parent
0b99d4c8d2
commit
2014098d01
1
changelog.d/11128.doc
Normal file
1
changelog.d/11128.doc
Normal file
@ -0,0 +1 @@
|
||||
Improve example HAProxy config in the docs to properly handle host headers with port information. This is required for federation over port 443 to work correctly.
|
@ -188,7 +188,7 @@ frontend https
|
||||
http-request set-header X-Forwarded-For %[src]
|
||||
|
||||
# Matrix client traffic
|
||||
acl matrix-host hdr(host) -i matrix.example.com
|
||||
acl matrix-host hdr(host) -i matrix.example.com matrix.example.com:443
|
||||
acl matrix-path path_beg /_matrix
|
||||
acl matrix-path path_beg /_synapse/client
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user