From 91b0f47f66ac80c2e14cd2381526b3158e57f8a4 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Thu, 27 Jan 2022 23:08:32 +0100 Subject: [PATCH] Try to avoid logging IPs --- nginx.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx.nix b/nginx.nix index fd7e23d..2b265bb 100644 --- a/nginx.nix +++ b/nginx.nix @@ -4,10 +4,11 @@ networking.firewall.allowedTCPPorts = [ 80 443 ]; services.nginx = { enable = true; - #logError = "/dev/null"; + appendConfig = '' + access_log off; + ''; recommendedGzipSettings = true; recommendedOptimisation = true; - recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts."stats.hamburg.freifunk.net" = { default = true;