From 5f882defe0d5d07aa1f58a4ae0c41c166597ea31 Mon Sep 17 00:00:00 2001 From: Daniel Poelzleithner Date: Tue, 16 Apr 2019 12:32:26 +0200 Subject: [PATCH] allow large image uploads --- hosts/containers/registry/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/containers/registry/configuration.nix b/hosts/containers/registry/configuration.nix index 22833674..f9e0d071 100644 --- a/hosts/containers/registry/configuration.nix +++ b/hosts/containers/registry/configuration.nix @@ -90,6 +90,10 @@ locations."/" = { proxyPass = "http://localhost:5000"; }; + extraConfig = '' + client_max_body_size 2048M; + gzip off; + ''; }; # This value determines the NixOS release with which your system is to be