diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-01-04 22:31:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 22:31:45 +0000 |
commit | 79f6d3550a14cacadacbb47d1d1ccf9d06f73158 (patch) | |
tree | 3e9364a33a7effd63a77320e678fb985d3161244 | |
parent | Fix AssertionErrors after purging events (#11642) (diff) | |
download | synapse-79f6d3550a14cacadacbb47d1d1ccf9d06f73158.tar.xz |
update ngnix reverse-proxy example (#11680)
this should not be a case-insensitive match.
Diffstat (limited to '')
-rw-r--r-- | changelog.d/11680.doc | 1 | ||||
-rw-r--r-- | docs/reverse_proxy.md | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/11680.doc b/changelog.d/11680.doc new file mode 100644 index 0000000000..09399ad9d0 --- /dev/null +++ b/changelog.d/11680.doc @@ -0,0 +1 @@ +Correct the documentation for `nginx` to use a case-sensitive url pattern. Fixes an error introduced in v1.21.0. diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md index f3b3aea732..1a89da50fd 100644 --- a/docs/reverse_proxy.md +++ b/docs/reverse_proxy.md @@ -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. |