Update reverse_proxy.rst (#5397)

Updates reverse_proxy.rst with information about nginx' URI normalisation.
pull/5675/head
Ulrik Günther 2019-07-12 12:46:18 +02:00 committed by Richard van der Hoff
parent 59f15309ca
commit d445b3ae57
2 changed files with 3 additions and 0 deletions

1
changelog.d/5397.doc Normal file
View File

@ -0,0 +1 @@
Add information about nginx normalisation to reverse_proxy.rst. Contributed by @skalarproduktraum - thanks!

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::