From f1ca9d919de2d64220fed205bcc1f819822e1ec3 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Wed, 31 Dec 2025 19:15:01 -0300 Subject: [PATCH] communication: fix well-known nginx regex escaping --- services/communication/wellknown.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;