From b222457f4e0e6c7d5db8d6ba46b7c09c5ca3d9b4 Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Wed, 18 Sep 2024 10:30:43 +0200 Subject: [PATCH] Added IPV6 compatibility for nginx --- config/piler-ssl.yml | 3 ++- piler.conf.example | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/piler-ssl.yml b/config/piler-ssl.yml index 268d2f0..3476531 100644 --- a/config/piler-ssl.yml +++ b/config/piler-ssl.yml @@ -26,7 +26,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro environment: - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL} - - LETSENCRYPT_TESTING=${LETSENCRYPT_TESTING:-false} + - ENABLE_IPV6=${NGINX_ENABLE_IPV6:false} mysql: image: mariadb:${MARIA_DB_VERSION} @@ -90,6 +90,7 @@ services: - VIRTUAL_HOST=${PILER_DOMAIN} - LETSENCRYPT_HOST=${PILER_DOMAIN} - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL} + - LETSENCRYPT_TEST=${LETSENCRYPT_TEST:-false} ports: - "25:25" volumes: diff --git a/piler.conf.example b/piler.conf.example index 3b4afe7..e6421d4 100644 --- a/piler.conf.example +++ b/piler.conf.example @@ -51,7 +51,12 @@ LETSENCRYPT_EMAIL="admin@example.com" # Let's Encrypt Testing (staging) server usage -LETSENCRYPT_TESTING=false +LETSENCRYPT_TEST=false + +# ------------ Nginx Settings ------------- + +# Enables NGINX to listen on IPv6 too +NGINX_ENABLE_IPv6=true # ------ optional Mailcow Settings --------