location /.well-known/matrix/ {
        types { } default_type "application/json";
        alias /etc/matrix-synapse/wellknown/;
        add_header Access-Control-Allow-Origin *;
    }