From adf514c054954d70717c0e06637c940540d26a61 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Sun, 5 Oct 2025 23:19:19 -0500 Subject: [PATCH] client max body size setting --- hosts/h001/nginx.nix | 4 +--- hosts/oracle/o001/nginx.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hosts/h001/nginx.nix b/hosts/h001/nginx.nix index f7c0bac..8a52091 100644 --- a/hosts/h001/nginx.nix +++ b/hosts/h001/nginx.nix @@ -9,9 +9,7 @@ let in { services.nginx = { - appendHttpConfig = '' - client_max_body_size 500M; - ''; + clientMaxBodySize = "500m"; virtualHosts = { "10.12.14.10" = { locations = { diff --git a/hosts/oracle/o001/nginx.nix b/hosts/oracle/o001/nginx.nix index 29b484c..2188c0b 100644 --- a/hosts/oracle/o001/nginx.nix +++ b/hosts/oracle/o001/nginx.nix @@ -30,9 +30,7 @@ recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - appendHttpConfig = '' - client_max_body_size 500M; - ''; + clientMaxBodySize = "500m"; virtualHosts = let tailnetConfig = {