Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
2014098d
Unverified
Commit
2014098d
authored
3 years ago
by
Brett Bethke
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add domain specific matching for haproxy config (#11128)
parent
0b99d4c8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/11128.doc
+1
-0
1 addition, 0 deletions
changelog.d/11128.doc
docs/reverse_proxy.md
+1
-1
1 addition, 1 deletion
docs/reverse_proxy.md
with
2 additions
and
1 deletion
changelog.d/11128.doc
0 → 100644
+
1
−
0
View file @
2014098d
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.
This diff is collapsed.
Click to expand it.
docs/reverse_proxy.md
+
1
−
1
View file @
2014098d
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment