nixos: nginx.resolver.ipv6 defaults to true
even if networking.enableIPv6
is false
#368034
Labels
0.kind: bug
Something is broken
Describe the bug
nginx.resolver.ipv6
setting in nginx NixOS module is always set to true by default even if IPv6 is disabled on the networking level.This then can give pretty cryptic and intermittent failures when using it for proxying or whatever else.
Steps To Reproduce
Steps to reproduce the behavior:
Set
networking.enableIPv6 = false
. Set something inservices.nginx.resolver.addresses
. Check the generated nginx config and note that it doesn't addipv6=off
to resolver line.Expected behavior
It should probably
ipv6=off
automatically, especially as we already have theenableIPv6
value visible in the module and used for other stuff.Metadata
I'm on
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: