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

Commit

Permalink
update ngnix reverse-proxy example (#11680)
Browse files Browse the repository at this point in the history
this should not be a case-insensitive match.
  • Loading branch information
richvdh authored Jan 4, 2022
1 parent b38bdae commit 79f6d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/11680.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correct the documentation for `nginx` to use a case-sensitive url pattern. Fixes an error introduced in v1.21.0.
2 changes: 1 addition & 1 deletion docs/reverse_proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ server {
server_name matrix.example.com;
location ~* ^(\/_matrix|\/_synapse\/client) {
location ~ ^(/_matrix|/_synapse/client) {
# note: do not add a path (even a single /) after the port in `proxy_pass`,
# otherwise nginx will canonicalise the URI and cause signature verification
# errors.
Expand Down

0 comments on commit 79f6d35

Please sign in to comment.