snappymail/.docker
Leonard Jonathan Oh e37546b795 Fix (docker): Ensure nginx does not listen on ipv6 in ipv4-only environments
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.
2025-02-26 06:25:09 +00:00
..
dev Merge remote-tracking branch 'upstream/master' RainLoop v1.17 2022-09-01 00:24:33 +02:00
release Fix (docker): Ensure nginx does not listen on ipv6 in ipv4-only environments 2025-02-26 06:25:09 +00:00