From 31ccab13a68622eca6624a358d4974239d040bc6 Mon Sep 17 00:00:00 2001 From: Jacked <59811493+jackedproxy@users.noreply.github.com> Date: Wed, 27 Aug 2025 10:56:14 +0100 Subject: [PATCH] Update reverse-proxy.md Documentation is missing recently introduced /_synapse/mas endpoint. The absence of this endpoint will result in the inability to sign into new sessions. --- docs/setup/reverse-proxy.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/setup/reverse-proxy.md b/docs/setup/reverse-proxy.md index 0a24e0a58..b641e328c 100644 --- a/docs/setup/reverse-proxy.md +++ b/docs/setup/reverse-proxy.md @@ -106,6 +106,16 @@ server { } ``` +## Synapse MAS endpoint +Include **/_synapse/mas** under the location paths forwarded to Synapse. + +```nginx +server { + # ---- SNIP ---- +location ~ ^(/_matrix|/_synapse/client|/_synapse/mas) { + # ---- SNIP ---- +``` + ## Preserve the client IP For rate-limiting and logging purposes, MAS needs to know the client IP address, which can be lost when using a reverse proxy.