From d1cb03f213870fb9c2cc07bfc1929da10c5c479d Mon Sep 17 00:00:00 2001 From: eyjhb Date: Wed, 18 Dec 2024 15:20:38 +0100 Subject: [PATCH] server.nginx: disables access logging --- shared/applications/server/nginx.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shared/applications/server/nginx.nix b/shared/applications/server/nginx.nix index e5c281f..0d837d5 100644 --- a/shared/applications/server/nginx.nix +++ b/shared/applications/server/nginx.nix @@ -22,6 +22,11 @@ in { # only allow PFS-enabled ciphers with AES256 sslCiphers = "AES256+EECDH:AES256+EDH:!aNULL"; + # disable access logs + commonHttpConfig= '' + access_log off; + ''; + # setup a default site virtualHosts.default = { default = lib.mkDefault true;