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

View File

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