mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 14:31:09 +03:00
more LE fixes
This commit is contained in:
@@ -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 *;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user