2
0

Added IPV6 compatibility for nginx

This commit is contained in:
DerLinkman
2024-09-18 10:30:43 +02:00
parent ae52959f55
commit b222457f4e
2 changed files with 8 additions and 2 deletions

View File

@@ -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:

View File

@@ -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 --------