From 77b642f64676ac00fa48666475a887028a4ce95c Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 29 Aug 2024 16:23:57 +0200 Subject: [PATCH] garage: increase nginx client_body_size to 64m To make bigger garage uploads work well, avoiding error HTTP 413 Entity Too Large --- modules/garage/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/garage/default.nix b/modules/garage/default.nix index f2e538ce..f50d6870 100644 --- a/modules/garage/default.nix +++ b/modules/garage/default.nix @@ -69,6 +69,7 @@ locations."/" = { proxyPass = "http://s3_backend"; extraConfig = '' + client_max_body_size 64m; proxy_max_temp_file_size 0; ''; };