Forums.ATC.no
Teknisk => Generelt teknisk => Emne startet av: ATC på 11. Oktober 2010, 20:30 pm
-
When configuring Lighttpd I can use "server.bind" to specify either an IPv4 address or an IPv6 address, but not both. How can I bind to both at the same time?
-
First enable IPv6 support, then bind to the IPv6 "ANY" address which is "::", then finally add the IPv4 "ANY" address 0.0.0.0 like this:
server.use-ipv6 = "enable"
server.bind = "::"
$SERVER["socket"] == "0.0.0.0:80" {
# Any IPv4 specific options go here
}