diff --git a/services/communication/wellknown.yaml b/services/communication/wellknown.yaml index 7ed7610..803a75f 100644 --- a/services/communication/wellknown.yaml +++ b/services/communication/wellknown.yaml @@ -40,13 +40,13 @@ data: root /usr/share/nginx/html; # Some clients request a trailing slash; serve both. - location ~ ^/\\.well-known/matrix/client/?$ { + location ~ ^/\.well-known/matrix/client/?$ { default_type application/json; add_header Access-Control-Allow-Origin "*" always; try_files /.well-known/matrix/client =404; } - location ~ ^/\\.well-known/matrix/server/?$ { + location ~ ^/\.well-known/matrix/server/?$ { default_type application/json; add_header Access-Control-Allow-Origin "*" always; try_files /.well-known/matrix/server =404;