Update reverse_proxy.rst (#5397)

Updates reverse_proxy.rst with information about nginx' URI normalisation.
This commit is contained in:
Ulrik Günther authored and Richard van der Hoff committed 2019-07-12 11:46:18 +01:00
1 parent 59f15309ca
commit d445b3ae57
2 files changed
+3

No files matched your search

+1
View File
@@ -0,0 +1 @@
Add information about nginx normalisation to reverse_proxy.rst. Contributed by @skalarproduktraum - thanks!
+2
View File
@@ -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::