add some açao

This commit is contained in:
Matthew Hodgson
2024-11-06 12:02:09 +00:00
parent 9b51c82879
commit 058b1761b7

View File

@@ -16,10 +16,12 @@ server {
# location /.well-known/acme-challenge/ {
# root /var/www/certbot;
# add_header Access-Control-Allow-Origin *;
# }
location /.well-known/matrix/ {
root /var/www;
add_header Access-Control-Allow-Origin *;
}
# XXX: is this right? or should auth.$DOMAIN be the issuer?
@@ -27,6 +29,7 @@ server {
proxy_pass http://mas:8080;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
add_header Access-Control-Allow-Origin *;
}
location / {
@@ -42,6 +45,7 @@ server {
location /.well-known/matrix/ {
root /var/www;
add_header Access-Control-Allow-Origin *;
}
# XXX: is this right? or should auth.$DOMAIN be the issuer?
@@ -49,6 +53,7 @@ server {
proxy_pass http://mas:8080;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
add_header Access-Control-Allow-Origin *;
}
}
@@ -171,8 +176,6 @@ server {
client_max_body_size 50M;
}
location /.well-known {}
# Synapse responses may be chunked, which is an HTTP/1.1 feature.
proxy_http_version 1.1;
}