From 1b0c32fce6c7e3146a05147e16ee42f8be015917 Mon Sep 17 00:00:00 2001 From: kalipso Date: Tue, 15 Apr 2025 11:30:59 +0200 Subject: [PATCH] [zineshop] remove upload limit for initial batch upload this should later be set to something more reasonable --- machines/durruti/host_config.nix | 1 + machines/fanny/configuration.nix | 1 + machines/vpn/configuration.nix | 1 + 3 files changed, 3 insertions(+) diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index fac34725..7d4e6b7d 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -80,6 +80,7 @@ in locations."/" = { proxyPass = "http://10.0.0.10"; extraConfig = '' + client_max_body_size 0; ''; }; }; diff --git a/machines/fanny/configuration.nix b/machines/fanny/configuration.nix index 17fc9799..8724e300 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -160,6 +160,7 @@ in proxyPass = "http://10.0.0.15:8080"; extraConfig = '' proxy_set_header Host $host; + client_max_body_size 0; ''; }; }; diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index e0c8f763..eb9eac50 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -77,6 +77,7 @@ with lib; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Authorization $http_authorization; # Pass the Authorization header proxy_pass_header Authorization; + client_max_body_size 0; ''; }; };