mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
The official nginx images do not listen on ipv6, very likely to avoid nginx crashing on startup in ipv4-only environments: ``` docker run --rm -it nginx:alpine cat /etc/nginx/conf.d/default.conf | grep -i listen ``` Hence, we simply need to detect whether ipv6 is disabled, and not listen on ipv6 if ipv6 is disabled in the kernel or in the container. |
||
|---|---|---|
| .. | ||
| etc/nginx | ||
| snappymail | ||
| usr/local/etc/php-fpm.d | ||
| entrypoint.sh | ||
| listener.php | ||
| supervisor.conf | ||