diff options
author | Paul Tötterman <ptman@users.noreply.github.com> | 2021-03-26 12:38:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 10:38:31 +0000 |
commit | d7d4232a2d8e1ca3c27ced3dc8b0dcda0a9e4c6f (patch) | |
tree | a366db2419a388c4ff4289b57fb05d5170c5b6fe /UPGRADE.rst | |
parent | Use interpreter from $PATH instead of absolute paths in various scripts using... (diff) | |
download | synapse-d7d4232a2d8e1ca3c27ced3dc8b0dcda0a9e4c6f.tar.xz |
Preserve host in example apache config (#9696)
Fixes redirect loop Signed-off-by: Paul Tötterman <paul.totterman@iki.fi>
Diffstat (limited to 'UPGRADE.rst')
-rw-r--r-- | UPGRADE.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/UPGRADE.rst b/UPGRADE.rst index 8bc2ff91ab..ba488e1041 100644 --- a/UPGRADE.rst +++ b/UPGRADE.rst @@ -98,9 +98,12 @@ will log a warning on each received request. To avoid the warning, administrators using a reverse proxy should ensure that the reverse proxy sets `X-Forwarded-Proto` header to `https` or `http` to -indicate the protocol used by the client. See the `reverse proxy documentation -<docs/reverse_proxy.md>`_, where the example configurations have been updated to -show how to set this header. +indicate the protocol used by the client. + +Synapse also requires the `Host` header to be preserved. + +See the `reverse proxy documentation <docs/reverse_proxy.md>`_, where the +example configurations have been updated to show how to set these headers. (Users of `Caddy <https://caddyserver.com/>`_ are unaffected, since we believe it sets `X-Forwarded-Proto` by default.) |