public-web-static: to not log ip addresses just disable the access_log

This commit is contained in:
June 2026-01-27 15:44:25 +01:00
commit 62885a0095
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -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 ];