feat: disable federation
Closes https://git.coopcloud.tech/coop-cloud/matrix-synapse/issues/19.
This commit is contained in:
@ -22,5 +22,12 @@ http {
|
||||
proxy_set_header Host $host;
|
||||
client_max_body_size 50M;
|
||||
}
|
||||
|
||||
{{ if eq (env "DISABLE_FEDERATION") "1" }}
|
||||
location /.well-known/matrix/ {
|
||||
deny all
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user