diff options
-rw-r--r-- | changelog.d/9512.feature | 1 | ||||
-rw-r--r-- | docs/reverse_proxy.md | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/9512.feature b/changelog.d/9512.feature new file mode 100644 index 0000000000..06cfd5d199 --- /dev/null +++ b/changelog.d/9512.feature @@ -0,0 +1 @@ +Add support for `X-Forwarded-Proto` header when using a reverse proxy. diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md index bb7caa8bb9..81e5a68a36 100644 --- a/docs/reverse_proxy.md +++ b/docs/reverse_proxy.md @@ -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; |