nixos/nginx: allow paths in fastcgiParams

Useful for pointing `SCRIPT_FILENAME` at a derivation.
This commit is contained in:
Naïm Favier 2021-09-29 01:42:34 +02:00
parent 1f2b8b7b63
commit c965a30871
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2

View file

@ -102,7 +102,7 @@ with lib;
};
fastcgiParams = mkOption {
type = types.attrsOf types.str;
type = types.attrsOf (types.either types.str types.path);
default = {};
description = ''
FastCGI parameters to override. Unlike in the Nginx