Disable IPv6 only for nginx

This commit is contained in:
coolneng 2019-11-25 02:45:29 +01:00
parent 72e26f0d96
commit f6029c1e7c
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 1 additions and 4 deletions

View File

@ -26,7 +26,5 @@
connectionTrackingModules = [ "sane" ]; connectionTrackingModules = [ "sane" ];
}; };
# Disable IPv6
networking.enableIPv6 = false;
} }

View File

@ -7,13 +7,12 @@
php php
postgresql_11 postgresql_11
libressl libressl
gnumake
php73Packages.composer
miniflux miniflux
]; ];
services.nginx = { services.nginx = {
enable = true; enable = true;
resolver.ipv6 = false;
recommendedTlsSettings = true; recommendedTlsSettings = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedProxySettings = true; recommendedProxySettings = true;