diff --git a/flake.nix b/flake.nix index e63dc92..00eb48b 100644 --- a/flake.nix +++ b/flake.nix @@ -57,6 +57,10 @@ extraCommands = '' mkdir -p var/log/nginx var/cache/angie var/lib/angie run tmp etc/angie/http.d chmod 1777 tmp run + # Ship the conf-dir bundled with angie (mime.types, fastcgi_params, + # scgi_params, uwsgi_params, koi-utf, koi-win, etc.) — chart configs + # `include fastcgi_params;` and similar resolve relative to /etc/angie. + cp ${angie}/conf/* etc/angie/ cp ${mainConf} etc/angie/angie.conf ''; config = {