diff --git a/common/general/shell/common.nix b/common/general/shell/common.nix index 2d79ea5..c7bd3df 100644 --- a/common/general/shell/common.nix +++ b/common/general/shell/common.nix @@ -40,7 +40,7 @@ with lib; date_compact = "date +'%Y%m%d'"; date_short = "date +'%Y-%m-%d'"; ls = "ls --color -Gah"; - ll = "ls --color -Galhtr"; + ll = "ls --color -Galh"; lss = "du --max-depth=0 -h {.,}* 2>/dev/null | sort -hr"; psg = "ps aux | head -n 1 && ps aux | grep -v 'grep' | grep"; cl = "clear"; diff --git a/hosts/h001/nginx.nix b/hosts/h001/nginx.nix index 8a52091..f7c0bac 100644 --- a/hosts/h001/nginx.nix +++ b/hosts/h001/nginx.nix @@ -9,7 +9,9 @@ let in { services.nginx = { - clientMaxBodySize = "500m"; + appendHttpConfig = '' + client_max_body_size 500M; + ''; virtualHosts = { "10.12.14.10" = { locations = { diff --git a/hosts/oracle/o001/nginx.nix b/hosts/oracle/o001/nginx.nix index 2188c0b..29b484c 100644 --- a/hosts/oracle/o001/nginx.nix +++ b/hosts/oracle/o001/nginx.nix @@ -30,7 +30,9 @@ recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - clientMaxBodySize = "500m"; + appendHttpConfig = '' + client_max_body_size 500M; + ''; virtualHosts = let tailnetConfig = {