mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
update ngnix reverse-proxy example (#11680)
this should not be a case-insensitive match.
This commit is contained in:
parent
b38bdae3a2
commit
79f6d3550a
2 changed files with 2 additions and 1 deletions
1
changelog.d/11680.doc
Normal file
1
changelog.d/11680.doc
Normal file
|
@ -0,0 +1 @@
|
|||
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 {
|
|||
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue