removed need for DOMAIN_WWW and use www. instead

This commit is contained in:
2025-11-21 12:50:57 +00:00
parent d05951c267
commit d8ca109c45

View File

@@ -31,7 +31,7 @@ services:
volumes: volumes:
- ./certbot/conf:/etc/letsencrypt - ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot - ./certbot/www:/var/www/certbot
command: certonly --webroot -w /var/www/certbot --email ${EMAIL} -d ${DOMAIN} -d ${DOMAIN_WWW} --agree-tos --non-interactive command: certonly --webroot -w /var/www/certbot --email ${EMAIL} -d ${DOMAIN} -d www.${DOMAIN} --agree-tos --non-interactive
networks: networks:
- app-network - app-network