From f6029c1e7cb28c0aee79795c88a27d49334b24eb Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 25 Nov 2019 02:45:29 +0100 Subject: [PATCH] Disable IPv6 only for nginx --- modules/networking.nix | 2 -- modules/webstack.nix | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index 0292587..87ab87a 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -26,7 +26,5 @@ connectionTrackingModules = [ "sane" ]; }; - # Disable IPv6 - networking.enableIPv6 = false; } diff --git a/modules/webstack.nix b/modules/webstack.nix index 9a0118f..51173bb 100644 --- a/modules/webstack.nix +++ b/modules/webstack.nix @@ -7,13 +7,12 @@ php postgresql_11 libressl - gnumake - php73Packages.composer miniflux ]; services.nginx = { enable = true; + resolver.ipv6 = false; recommendedTlsSettings = true; recommendedGzipSettings = true; recommendedProxySettings = true;