From 07ca88bbc263c556e18bce94e7de97dbdf151c4e Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 13 Mar 2023 23:42:19 +0100 Subject: [PATCH] nginx: increase log buffering --- system/nixos/nginx.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/nixos/nginx.nix b/system/nixos/nginx.nix index a96b3f2..8a616ff 100644 --- a/system/nixos/nginx.nix +++ b/system/nixos/nginx.nix @@ -21,7 +21,7 @@ '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"'; - access_log /var/log/nginx/access.log combined_anon buffer=8k flush=5m; + access_log /var/log/nginx/access.log combined_anon buffer=32k flush=5m; ''; };