communication: fix well-known nginx regex escaping

This commit is contained in:
Brad Stein 2025-12-31 19:15:01 -03:00
parent 9c60011261
commit f1ca9d919d

View File

@ -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;