diff --git a/hosts/web-2/clerie.nix b/hosts/web-2/clerie.nix index 6d8665b..896f905 100644 --- a/hosts/web-2/clerie.nix +++ b/hosts/web-2/clerie.nix @@ -32,6 +32,9 @@ ''; return = "200 ''"; }; + extraConfig = '' + access_log /var/log/nginx/clerie.de.log combined_anon; + ''; }; }; } diff --git a/hosts/web-2/gitea.nix b/hosts/web-2/gitea.nix index 3c3d37f..b536bbd 100644 --- a/hosts/web-2/gitea.nix +++ b/hosts/web-2/gitea.nix @@ -80,6 +80,9 @@ proxyPass = "http://localhost:3000"; }; }; + extraConfig = '' + access_log /var/log/nginx/git.clerie.de.log combined_anon; + ''; }; }; } diff --git a/hosts/web-2/iot-data.nix b/hosts/web-2/iot-data.nix index 2247f21..64da990 100644 --- a/hosts/web-2/iot-data.nix +++ b/hosts/web-2/iot-data.nix @@ -32,6 +32,9 @@ locations."/" = { proxyPass = "http://[::1]:8235"; }; + extraConfig = '' + access_log off; + ''; }; }; }