How do I enable IPv6 with Nginx on Debian 10

by St3ph   Last Updated September 11, 2019 10:00 AM

I have a problem for a new install on debian 10 to use an IPv6 address on Nginx. The version of Nginx is 1.14.2. When I verify that Nginx supports IPv6, I see that it is not enabled. I use this command:

nginx -V

Previously I did an installation on Debian 9 where Nginx (v. 1.10.3) had IPv6 support enabled by default.

I fixed my problem on Debian 10 by compiling Nginx with the --with-ipv6 option. But I'm surprised it's no longer enabled by default. That's why I opened this post.

Thanks for your help.

Related Questions

How to update /etc/os-release

Updated August 06, 2019 22:00 PM