homer/lighttpd-ipv6.sh
Thomas Anderson 9b77b47022 fix: reverse IPV6_DISABLE logic
Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>
2023-10-21 05:16:20 -07:00

7 lines
131 B
Bash
Executable File

#!/bin/sh
# Enable IPV6 if needed
if [[ "${IPV6_DISABLE}" != "1" ]]; then
echo '$SERVER["socket"] == "[::]:" + env.PORT { }'
fi