Try to avoid logging IPs

This commit is contained in:
Daniel Frank 2022-01-27 23:08:32 +01:00
parent d57284f13e
commit 91b0f47f66
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -4,10 +4,11 @@
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = { services.nginx = {
enable = true; enable = true;
#logError = "/dev/null"; appendConfig = ''
access_log off;
'';
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."stats.hamburg.freifunk.net" = { virtualHosts."stats.hamburg.freifunk.net" = {
default = true; default = true;