nixos/nginx: allow paths in fastcgiParams
Useful for pointing `SCRIPT_FILENAME` at a derivation.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user