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

Update reverse_proxy.rst #5397

Merged
merged 4 commits into from
Jul 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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