From 4826f425507fda8ff75e9971c54198f3e02ad8d6 Mon Sep 17 00:00:00 2001 From: Oleks Date: Sat, 9 May 2026 23:28:35 +0300 Subject: [PATCH] image: ship bundled conf files (fastcgi_params etc.) at /etc/angie/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The chart's default.conf does `include fastcgi_params;` which resolves to /etc/angie/fastcgi_params — needed for the php-fpm hand-off. --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 = {