From 98dd00f5f0565c7f9f1b6765be05f4631fabc1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikodem=20Rabuli=C5=84ski?= Date: Wed, 7 Feb 2024 11:06:20 +0100 Subject: [PATCH] hosts/kazuki/attic: increase max body size --- hosts/kazuki/attic.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/hosts/kazuki/attic.nix b/hosts/kazuki/attic.nix index 57011f4..3f806c3 100644 --- a/hosts/kazuki/attic.nix +++ b/hosts/kazuki/attic.nix @@ -61,14 +61,15 @@ in { services.nginx = { enable = true; recommendedProxySettings = true; - virtualHosts = { - "cache.nrab.lol" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://attic"; - }; + virtualHosts."cache.nrab.lol" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://attic"; }; + extraConfig = '' + client_max_body_size 8G; + ''; }; upstreams."attic".servers = {