summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-01-04 22:31:45 +0000
committerGitHub <noreply@github.com>2022-01-04 22:31:45 +0000
commit79f6d3550a14cacadacbb47d1d1ccf9d06f73158 (patch)
tree3e9364a33a7effd63a77320e678fb985d3161244
parentFix AssertionErrors after purging events (#11642) (diff)
downloadsynapse-79f6d3550a14cacadacbb47d1d1ccf9d06f73158.tar.xz
update ngnix reverse-proxy example (#11680)
this should not be a case-insensitive match.
-rw-r--r--changelog.d/11680.doc1
-rw-r--r--docs/reverse_proxy.md2
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.