From 874601504149ffbeac0c97b883feb70319f031c3 Mon Sep 17 00:00:00 2001 From: brdns Date: Mon, 9 Dec 2024 18:02:44 +0100 Subject: [PATCH] Removes nginx logs when uploading: [warn] a client request body is buffered to a temporary file [warn] a client request body is buffered to a temporary file Was already fixed with commit bfc61fb64e095e24d1530e0aa9480d1597baff56 Then got reverted by commit 66408fccb20b870bbf9f4510a4342e4de31e91a7 --- debian/nginx/invoiceninja.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/nginx/invoiceninja.conf b/debian/nginx/invoiceninja.conf index e133344..78add9d 100644 --- a/debian/nginx/invoiceninja.conf +++ b/debian/nginx/invoiceninja.conf @@ -1,5 +1,6 @@ # https://nginx.org/en/docs/http/ngx_http_core_module.html client_max_body_size 10M; +client_body_buffer_size 10M; server_tokens off; # https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html