Update reverse_proxy.rst (#5397)
Updates reverse_proxy.rst with information about nginx' URI normalisation.
This commit is contained in:
parent
59f15309ca
commit
d445b3ae57
|
@ -0,0 +1 @@
|
||||||
|
Add information about nginx normalisation to reverse_proxy.rst. Contributed by @skalarproduktraum - thanks!
|
|
@ -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;
|
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::
|
* Caddy::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue