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 = {