Added IPV6 compatibility for nginx
This commit is contained in:
@@ -26,7 +26,7 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
environment:
|
environment:
|
||||||
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||||
- LETSENCRYPT_TESTING=${LETSENCRYPT_TESTING:-false}
|
- ENABLE_IPV6=${NGINX_ENABLE_IPV6:false}
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mariadb:${MARIA_DB_VERSION}
|
image: mariadb:${MARIA_DB_VERSION}
|
||||||
@@ -90,6 +90,7 @@ services:
|
|||||||
- VIRTUAL_HOST=${PILER_DOMAIN}
|
- VIRTUAL_HOST=${PILER_DOMAIN}
|
||||||
- LETSENCRYPT_HOST=${PILER_DOMAIN}
|
- LETSENCRYPT_HOST=${PILER_DOMAIN}
|
||||||
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||||
|
- LETSENCRYPT_TEST=${LETSENCRYPT_TEST:-false}
|
||||||
ports:
|
ports:
|
||||||
- "25:25"
|
- "25:25"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -51,7 +51,12 @@ LETSENCRYPT_EMAIL="admin@example.com"
|
|||||||
|
|
||||||
# Let's Encrypt Testing (staging) server usage
|
# 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 --------
|
# ------ optional Mailcow Settings --------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user