Move well-known to not be hidden. Nginx will handle rewriting the path.
All checks were successful
semver Build semver has succeeded
build-homepage Build build-homepage has succeeded

This commit is contained in:
Tom Alexander
2023-09-23 12:23:27 -04:00
parent ae7240b2f4
commit 846da7bcf9
3 changed files with 5 additions and 1 deletions

View File

@@ -43,6 +43,10 @@ http {
return 200 '{"status":"OK"}';
}
location /.well-known/ {
alias /srv/http/public/well-known/;
}
location /.well-known/matrix/server {
default_type application/json;
add_header "Access-Control-Allow-Origin" *;