Skip to content

Commit 90748a3

Browse files
authored
Modify Nginx compatibility-layer location block to forward not just client stuff to matrix-synapse
Before the change, it did just just forward `/_matrix` & `/_synapse/client` to synapse.
1 parent a20cd1d commit 90748a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/setup/reverse-proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ server {
9494
9595
# Forward to Synapse
9696
# as per https://element-hq.github.io/synapse/latest/reverse_proxy.html#nginx
97-
location ~ ^(/_matrix|/_synapse/client) {
97+
location ~ ^(/_matrix|/_synapse) {
9898
proxy_pass http://localhost:8008;
9999
proxy_set_header X-Forwarded-For $remote_addr;
100100
proxy_set_header X-Forwarded-Proto $scheme;

0 commit comments

Comments
 (0)