From a94416697f1a6e95c58b4118d9a22a6891fb4fc7 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 5 Dec 2023 23:10:36 +0100 Subject: [PATCH] fix(attic): Use correct bucket and allow larger files --- machines/storage01/atticd.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/machines/storage01/atticd.nix b/machines/storage01/atticd.nix index 014a21d..a11236d 100644 --- a/machines/storage01/atticd.nix +++ b/machines/storage01/atticd.nix @@ -37,7 +37,7 @@ in { storage = { type = "s3"; region = "garage"; - bucket = "cachix-dgnum"; + bucket = "attic-dgnum"; endpoint = "https://s3.dgnum.eu"; }; }; @@ -50,7 +50,13 @@ in { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:9090"; + locations."/" = { + proxyPass = "http://127.0.0.1:9090"; + + extraConfig = '' + client_max_body_size 100M; + ''; + }; }; };