Skip to content
Snippets Groups Projects
Unverified Commit 79f6d355 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

update ngnix reverse-proxy example (#11680)

this should not be a case-insensitive match.
parent b38bdae3
Branches
Tags
No related merge requests found
Correct the documentation for `nginx` to use a case-sensitive url pattern. Fixes an error introduced in v1.21.0.
...@@ -63,7 +63,7 @@ server { ...@@ -63,7 +63,7 @@ server {
server_name matrix.example.com; 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`, # 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 # otherwise nginx will canonicalise the URI and cause signature verification
# errors. # errors.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment