Pin PHP-FPM version to 7.4
This commit is contained in:
parent
5911e6f678
commit
b498a9556a
|
@ -15,6 +15,7 @@
|
||||||
services.phpfpm.pools.wallabag = {
|
services.phpfpm.pools.wallabag = {
|
||||||
user = "nginx";
|
user = "nginx";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
|
phpPackage = pkgs.php74;
|
||||||
settings = {
|
settings = {
|
||||||
"listen.owner" = config.services.nginx.user;
|
"listen.owner" = config.services.nginx.user;
|
||||||
"listen.group" = config.services.nginx.group;
|
"listen.group" = config.services.nginx.group;
|
||||||
|
@ -24,7 +25,7 @@
|
||||||
"pm.max_requests" = 32;
|
"pm.max_requests" = 32;
|
||||||
"env[WALLABAG_DATA]" = "/var/lib/wallabag";
|
"env[WALLABAG_DATA]" = "/var/lib/wallabag";
|
||||||
};
|
};
|
||||||
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
|
phpEnv."PATH" = lib.makeBinPath [ pkgs.php74 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set environment variable pointing to wallabag configuration directory
|
# Set environment variable pointing to wallabag configuration directory
|
||||||
|
|
Loading…
Reference in New Issue