Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update reverse_proxy.rst (#5397)
Browse files Browse the repository at this point in the history
Updates reverse_proxy.rst with information about nginx' URI normalisation.
  • Loading branch information
skalarproduktraum authored and richvdh committed Jul 12, 2019
1 parent 59f1530 commit d445b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/5397.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add information about nginx normalisation to reverse_proxy.rst. Contributed by @skalarproduktraum - thanks!
2 changes: 2 additions & 0 deletions docs/reverse_proxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit d445b3a

Please sign in to comment.