Skip to content
Snippets Groups Projects
Unverified Commit 2014098d authored by Brett Bethke's avatar Brett Bethke Committed by GitHub
Browse files

Add domain specific matching for haproxy config (#11128)

parent 0b99d4c8
No related branches found
No related tags found
No related merge requests found
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 ...@@ -188,7 +188,7 @@ frontend https
http-request set-header X-Forwarded-For %[src] http-request set-header X-Forwarded-For %[src]
# Matrix client traffic # 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 /_matrix
acl matrix-path path_beg /_synapse/client acl matrix-path path_beg /_synapse/client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment