docker-library / ghost

Docker Official Image packaging for Ghost
https://hub.docker.com/_/ghost
MIT License
738 stars 313 forks source link

Switch from "0.0.0.0" to "::" to support IPv6 too #292

Closed tianon closed 2 years ago

tianon commented 2 years ago

Closes #291

tianon commented 2 years ago

I'm trying to remember the name of the sysctl that disables the IPv6-wildcard-does-IPv4-too and my searches are coming back empty. :weary:

Edit: AHA, net.ipv6.bindv6only=1 -- testing with that now.

tianon commented 2 years ago

Confirmed, even works with net.ipv6.bindv6only=1 set, so I think this is safe (and either Node or Ghost is being smart enough to expand :: to two listening sockets in that configuration).