diff options
author | Ulrik Günther <ulrik@42degreesoffreedom.com> | 2019-07-12 12:46:18 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-07-12 11:46:18 +0100 |
commit | d445b3ae57e589903ead3563a76f5c4e9322de19 (patch) | |
tree | fd0ccd291ea1bd2565116331a2e810fe800e31b4 | |
parent | Add missing space in default logging file format generated by the Docker imag... (diff) | |
download | synapse-d445b3ae57e589903ead3563a76f5c4e9322de19.tar.xz |
Update reverse_proxy.rst (#5397)
Updates reverse_proxy.rst with information about nginx' URI normalisation.
-rw-r--r-- | changelog.d/5397.doc | 1 | ||||
-rw-r--r-- | docs/reverse_proxy.rst | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/5397.doc b/changelog.d/5397.doc new file mode 100644 index 0000000000..c2b500b482 --- /dev/null +++ b/changelog.d/5397.doc @@ -0,0 +1 @@ +Add information about nginx normalisation to reverse_proxy.rst. Contributed by @skalarproduktraum - thanks! diff --git a/docs/reverse_proxy.rst b/docs/reverse_proxy.rst index e4b870411c..4b640ffc4f 100644 --- a/docs/reverse_proxy.rst +++ b/docs/reverse_proxy.rst @@ -48,6 +48,8 @@ Let's assume that we expect clients to connect to our server at proxy_set_header X-Forwarded-For $remote_addr; } } + + Do not add a `/` after the port in `proxy_pass`, otherwise nginx will canonicalise/normalise the URI. * Caddy:: |