more LE fixes

This commit is contained in:
Matthew Hodgson
2024-11-08 16:47:59 +00:00
parent ba0cc617ea
commit 71f75417ac
3 changed files with 15 additions and 23 deletions

View File

@@ -14,14 +14,12 @@ server {
listen 80;
# location /.well-known/acme-challenge/ {
# root /var/www/certbot;
# add_header Access-Control-Allow-Origin *;
# }
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location /.well-known/matrix/ {
root /var/www;
#add_header Access-Control-Allow-Origin *;
}
# XXX: is this right? or should auth.$DOMAIN be the issuer?
@@ -29,7 +27,6 @@ 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 / {
@@ -45,7 +42,6 @@ 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?
@@ -53,7 +49,6 @@ 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 *;
}
}