]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - ipv6.sh
fix: allow disabling IPv6
[github/bastienwirtz/homer.git] / ipv6.sh
diff --git a/ipv6.sh b/ipv6.sh
new file mode 100755 (executable)
index 0000000..c013ed6
--- /dev/null
+++ b/ipv6.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Enable IPV6 if needed
+if test -z "$IPV6_DISABLE"; then
+       echo '$SERVER["socket"] == "[::]:" + env.PORT {  }'
+fi