apparently .well-known already has an ACAO from somewhere

This commit is contained in:
Matthew Hodgson
2024-11-07 09:43:38 +00:00
parent 5f4d36a2ea
commit 78fd054943

View File

@@ -21,7 +21,7 @@ server {
location /.well-known/matrix/ { location /.well-known/matrix/ {
root /var/www; root /var/www;
add_header Access-Control-Allow-Origin *; #add_header Access-Control-Allow-Origin *;
} }
# XXX: is this right? or should auth.$DOMAIN be the issuer? # XXX: is this right? or should auth.$DOMAIN be the issuer?
@@ -29,7 +29,7 @@ server {
proxy_pass http://mas:8080; proxy_pass http://mas:8080;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr; proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
add_header Access-Control-Allow-Origin *; #add_header Access-Control-Allow-Origin *;
} }
location / { location / {
@@ -45,7 +45,7 @@ server {
location /.well-known/matrix/ { location /.well-known/matrix/ {
root /var/www; root /var/www;
add_header Access-Control-Allow-Origin *; #add_header Access-Control-Allow-Origin *;
} }
# XXX: is this right? or should auth.$DOMAIN be the issuer? # XXX: is this right? or should auth.$DOMAIN be the issuer?
@@ -53,7 +53,7 @@ server {
proxy_pass http://mas:8080; proxy_pass http://mas:8080;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr; proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
add_header Access-Control-Allow-Origin *; #add_header Access-Control-Allow-Origin *;
} }
} }