mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 06:26:58 +03:00
apparently .well-known already has an ACAO from somewhere
This commit is contained in:
@@ -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 *;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user