From 62885a0095e9b2b0c61180c683ca25eaa30985d3 Mon Sep 17 00:00:00 2001 From: June Date: Tue, 27 Jan 2026 15:44:25 +0100 Subject: [PATCH] public-web-static: to not log ip addresses just disable the access_log --- config/hosts/public-web-static/nginx.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/hosts/public-web-static/nginx.nix b/config/hosts/public-web-static/nginx.nix index 9d0e173..b69e60b 100644 --- a/config/hosts/public-web-static/nginx.nix +++ b/config/hosts/public-web-static/nginx.nix @@ -1,7 +1,12 @@ { ... }: { - services.nginx.enable = true; + services.nginx = { + enable = true; + appendHttpConfig = '' + access_log off; + ''; + }; networking.firewall.allowedTCPPorts = [ 8443 31820 ]; networking.firewall.allowedUDPPorts = [ 8443 ];