From 63b2a4aa4bad64f9b3d4cc0377f46cf8df49567a Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sun, 1 Jan 2023 13:33:52 +0100 Subject: [PATCH] minio: Allow body of 500M. Allow manduria-wg --- hosts/architect/minio.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/architect/minio.nix b/hosts/architect/minio.nix index a4fc127..fa413da 100644 --- a/hosts/architect/minio.nix +++ b/hosts/architect/minio.nix @@ -13,8 +13,10 @@ in { locations."/" = { proxyPass = "http://127.0.0.1:9000"; extraConfig = '' + client_max_body_size 500M; allow 10.0.0.0/24; - ${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg} + ${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg } + allow ${network.manduria-wg}; deny all; ''; };