apt-get upgrade nginx adds ipv6 by default

and what happens when a merge goes bad

Thomas V.

2 minute read

I discovered this when I ran the latest server update for the NGINX PPA on Ubuntu, which includes a new default configuration file. Instead of choosing to overwrite or discard the new config, I merged the new one with my old and when I restarted NGINX I got an address already in use error: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] still could not bind() This is because the latest NGINX update adds IPv6 support by default