diff --git a/swag/nginx/proxy-confs/synapse.subdomain.conf b/swag/nginx/proxy-confs/synapse.subdomain.conf index 0ed94f8..0ee2271 100644 --- a/swag/nginx/proxy-confs/synapse.subdomain.conf +++ b/swag/nginx/proxy-confs/synapse.subdomain.conf @@ -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 *; + } } }