Update synapse.subdomain.conf

This commit is contained in:
Tommy 2022-01-14 06:03:45 -05:00 committed by GitHub
parent 118d11362b
commit 407c73da04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,5 +38,10 @@ server {
set $upstream_port 8008; set $upstream_port 8008;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
location /.well-known/matrix/client {
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
} }
} }