Skip to content
Snippets Groups Projects
Unverified Commit a5daae2a authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Update nginx reverse-proxy docs (#9512)

Turns out nginx overwrites the Host header by default.
parent 0279e0e0
No related branches found
No related tags found
No related merge requests found
Add support for `X-Forwarded-Proto` header when using a reverse proxy.
......@@ -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;
......
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