mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-20 13:45:10 +00:00
6ebbf41571
When MAS is enabled, inject nginx location blocks that route: - /_matrix/client/*/login|logout|refresh → MAS compat layer (port 8081) - /_matrix/client/*/register → registration shim (port 8082) - /_synapse/admin/v1/register → registration shim (port 8082) These regex blocks are prepended before the catch-all worker locations so they take priority. In workers-shared-extra.yaml.j2, disable Synapse's built-in registration and password auth when MAS is active, since MAS handles these concerns.