diff --git a/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf b/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf index 495ac78..47e9b9b 100644 --- a/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf +++ b/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf @@ -1,8 +1,9 @@ server { listen 80; - server_name takahe.ixvd.net; + server_name takahe.ixvd.net on.ixvd.net; location / { + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; diff --git a/servers/kid/docker-compose.d/docker-compose.yml b/servers/kid/docker-compose.d/docker-compose.yml index 6b6f96a..ddf9493 100644 --- a/servers/kid/docker-compose.d/docker-compose.yml +++ b/servers/kid/docker-compose.d/docker-compose.yml @@ -9,7 +9,7 @@ services: - takahe # it will not start properly without environment: CERTBOT_EMAIL: "webmaster@ixvd.net" - CERTBOT_DOMAINS: "kid.ixvd.net,fedi.ixvd.net,matrix.ixvd.net,matrix.neo.ixvd.net,cinny.ixvd.net,search.ixvd.net,pad.ixvd.net,sandbox.pad.ixvd.net,bin.ixvd.net,takahe.ixvd.net,takahemedia.ixvd.net" + CERTBOT_DOMAINS: "kid.ixvd.net,fedi.ixvd.net,matrix.ixvd.net,on.ixvd.net,matrix.neo.ixvd.net,cinny.ixvd.net,search.ixvd.net,pad.ixvd.net,sandbox.pad.ixvd.net,bin.ixvd.net,takahe.ixvd.net,takahemedia.ixvd.net" volumes: - /srv/certbot/data:/etc/letsencrypt - /srv/certbot/other/www:/var/www/certbot