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

Commit 79f6d35

Browse files
authored
update ngnix reverse-proxy example (#11680)
this should not be a case-insensitive match.
1 parent b38bdae commit 79f6d35

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/11680.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correct the documentation for `nginx` to use a case-sensitive url pattern. Fixes an error introduced in v1.21.0.

docs/reverse_proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ server {
6363
6464
server_name matrix.example.com;
6565
66-
location ~* ^(\/_matrix|\/_synapse\/client) {
66+
location ~ ^(/_matrix|/_synapse/client) {
6767
# note: do not add a path (even a single /) after the port in `proxy_pass`,
6868
# otherwise nginx will canonicalise the URI and cause signature verification
6969
# errors.

0 commit comments

Comments
 (0)