aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-12-23 14:24:34 +0100
committerMartin Fischer <martin@push-f.com>2025-12-23 14:29:13 +0100
commit4e9dcdaffbe3096d759d3200b65eff5e5c3ead31 (patch)
tree8947d2a34c7f5fd7983bc530758ac0b31948fa74
parent41fbfdb499af4450486321dcef769517b2db7b81 (diff)
tweak(tente): disable delaycompress for nginx logrotate
The git.push-f.com.access.log.1 from last week is 2G.
-rw-r--r--nixos/hosts/tente/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix
index 5eed4db..77d7cbe 100644
--- a/nixos/hosts/tente/default.nix
+++ b/nixos/hosts/tente/default.nix
@@ -146,6 +146,10 @@ in
headscale.port = ports.headscale;
matrix.port = ports.matrix;
+ services.logrotate.settings.nginx = {
+ delaycompress = false;
+ };
+
# Backups
git.backupRsyncDest = "${backupHost}:repos";
git.backupOnCalendar = "00:00";