Skip to content

Commit

Permalink
nixos/nginx: default resolver.ipv6 to networking.enableIPv6
Browse files Browse the repository at this point in the history
(cherry picked from commit a810945)
  • Loading branch information
SuperSandro2000 authored and github-actions[bot] committed Dec 26, 2024
1 parent 7ac4af8 commit 1e85e1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/services/web-servers/nginx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,8 @@ in
};
ipv6 = mkOption {
type = types.bool;
default = true;
default = config.networking.enableIPv6;
defaultText = lib.literalExpression "config.networking.enableIPv6";
description = ''
By default, nginx will look up both IPv4 and IPv6 addresses while resolving.
If looking up of IPv6 addresses is not desired, the ipv6=off parameter can be
Expand Down

0 comments on commit 1e85e1f

Please sign in to comment.