Modify example Nginx compatibility-layer location block to also forward /_synapse/mas to Synapse (#5240)

This commit is contained in:
Olivier 'reivilibre
2025-11-27 12:32:26 +00:00
committed by GitHub

View File

@@ -94,7 +94,7 @@ server {
# Forward to Synapse
# as per https://element-hq.github.io/synapse/latest/reverse_proxy.html#nginx
location ~ ^(/_matrix|/_synapse/client) {
location ~ ^(/_matrix|/_synapse/client|/_synapse/mas) {
proxy_pass http://localhost:8008;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;