summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrik Günther <ulrik@42degreesoffreedom.com>2019-07-12 12:46:18 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-07-12 11:46:18 +0100
commitd445b3ae57e589903ead3563a76f5c4e9322de19 (patch)
treefd0ccd291ea1bd2565116331a2e810fe800e31b4
parentAdd missing space in default logging file format generated by the Docker imag... (diff)
downloadsynapse-d445b3ae57e589903ead3563a76f5c4e9322de19.tar.xz
Update reverse_proxy.rst (#5397)
Updates reverse_proxy.rst with information about nginx' URI normalisation.

Diffstat (limited to '')
-rw-r--r--changelog.d/5397.doc1
-rw-r--r--docs/reverse_proxy.rst2
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::