diff --git a/config/piler-ssl.yml b/config/piler-ssl.yml index 4d1fe00..5c5a44b 100644 --- a/config/piler-ssl.yml +++ b/config/piler-ssl.yml @@ -13,6 +13,8 @@ services: - ./nginx-data/vhost.d:/etc/nginx/vhost.d - ./nginx-data/html:/usr/share/nginx/html - /var/run/docker.sock:/tmp/docker.sock:ro + environment: + - ENABLE_IPV6=${NGINX_ENABLE_IPV6:-false} nginx-letsencrypt: image: jrcs/letsencrypt-nginx-proxy-companion @@ -27,7 +29,6 @@ services: - ./acme-data:/etc/acme.sh environment: - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL} - - ENABLE_IPV6=${NGINX_ENABLE_IPV6:-false} mysql: image: mariadb:${MARIA_DB_VERSION} diff --git a/piler.conf.example b/piler.conf.example index e6421d4..df02c2f 100644 --- a/piler.conf.example +++ b/piler.conf.example @@ -56,7 +56,7 @@ LETSENCRYPT_TEST=false # ------------ Nginx Settings ------------- # Enables NGINX to listen on IPv6 too -NGINX_ENABLE_IPv6=true +NGINX_ENABLE_IPV6=true # ------ optional Mailcow Settings --------