IPv6 and empty addresses
Added by joperry over 13 years ago
Hi, I'm using lighttpd 1.4.26 on Linux and I was looking into enabling IPv6. I was going through the documentation and noticed:
Please use server.use-ipv6 only for hostnames, not without server.bind or empty address.
Does anyone have an idea why this comment is there? I was thinking of doing the standard:
server.use-ipv6 = "enable" server.port = 80 $SERVER["socket"] == ":80" { server.use-ipv6 = "enable" } SERVER["socket"] == ":443" { server.use-ipv6 = "enable" ssl.engine = "enable" ssl.pemfile= "/path/to/cert.pem" }
What horrible side effects will there be for this?
Thanks in advance.
Replies (2)
RE: IPv6 and empty addresses - Added by joperry over 13 years ago
Ok, so it really seems like they're just worried about that kernel changing that option on you; best practices is to upgrade past 1.4.27 and separate your empty addresses into ipv4 and ipv6 specific configurations.
Much appreciated!