diff --git a/synapse.subdomain.conf.sample b/synapse.subdomain.conf.sample index 6107f7f..26c004b 100644 --- a/synapse.subdomain.conf.sample +++ b/synapse.subdomain.conf.sample @@ -38,5 +38,10 @@ server { set $upstream_port 8008; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + location /.well-known/matrix/client { + default_type application/json; + add_header Access-Control-Allow-Origin *; + } } }