From a58e6ba10df8925881bfa7be6813fc1bd59a257d Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 13 Mar 2023 23:38:11 +0100 Subject: [PATCH] nginx: 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 13d7c5f..a96b3f2 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; + access_log /var/log/nginx/access.log combined_anon buffer=8k flush=5m; ''; };