feature/sso-hardening #9

Merged
bstein merged 685 commits from feature/sso-hardening into main 2026-01-13 20:23:26 +00:00
Showing only changes of commit 9c60011261 - Show all commits

View File

@ -39,14 +39,17 @@ data:
root /usr/share/nginx/html;
location = /.well-known/matrix/client {
# Some clients request a trailing slash; serve both.
location ~ ^/\\.well-known/matrix/client/?$ {
default_type application/json;
try_files $uri =404;
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;
try_files $uri =404;
add_header Access-Control-Allow-Origin "*" always;
try_files /.well-known/matrix/server =404;
}
}
---