[PATCH] ignore ipv6=off resolver option when no ipv6 support
mdounin at mdounin.ru
Fri Dec 16 20:04:47 UTC 2016
On Fri, Dec 16, 2016 at 11:35:44AM -0800, Thibault Charbonnier wrote:
> Say we wish to disable IPv6 resolution regardless of whether nginx was
> built with our without support for it:
> resolver 22.214.171.124 126.96.36.199 ipv6=off;
> Now the issue is that ipv6=off raises this - cryptic to the neophytes -
> error if nginx was built without IPv6 support:
> [emerg] host not found in resolver "ipv6=off"
I very much doubt there are any neophytes who try to use nginx on
operating systems without IPv6 support. A neophyte most likely
won't be able to find such OS nowadays.
More information about the nginx-devel