Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
a5daae2a
Unverified
Commit
a5daae2a
authored
4 years ago
by
Richard van der Hoff
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update nginx reverse-proxy docs (#9512)
Turns out nginx overwrites the Host header by default.
parent
0279e0e0
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/9512.feature
+1
-0
1 addition, 0 deletions
changelog.d/9512.feature
docs/reverse_proxy.md
+2
-0
2 additions, 0 deletions
docs/reverse_proxy.md
with
3 additions
and
0 deletions
changelog.d/9512.feature
0 → 100644
+
1
−
0
View file @
a5daae2a
Add
support
for
`X-Forwarded-Proto`
header
when
using
a
reverse proxy.
This diff is collapsed.
Click to expand it.
docs/reverse_proxy.md
+
2
−
0
View file @
a5daae2a
...
...
@@ -53,6 +53,8 @@ server {
proxy_pass http://localhost:8008;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
# Nginx by default only allows file uploads up to 1M in size
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
client_max_body_size 50M;
...
...
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