nix/os/devices/vmd32387.contaboserver.net: update to NixOS 20.03
This commit is contained in:
parent
0ea2593e9c
commit
ebe3167f5b
5 changed files with 43 additions and 23 deletions
|
@ -36,20 +36,28 @@ in args // {
|
|||
'';
|
||||
};
|
||||
|
||||
services.phpfpm.phpPackage = pkgs.php56;
|
||||
nixpkgs.config.php = {
|
||||
imap = false;
|
||||
openssl = false;
|
||||
curl = false;
|
||||
ldap = false;
|
||||
};
|
||||
|
||||
services.phpfpm.poolConfigs.mypool = ''
|
||||
listen = 127.0.0.1:9000
|
||||
user = nobody
|
||||
pm = dynamic
|
||||
pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
||||
pm.max_requests = 500
|
||||
services.phpfpm.pools.mypool = {
|
||||
phpPackage = pkgs.php56;
|
||||
listen = "127.0.0.1:9000";
|
||||
user = "nobody";
|
||||
settings = {
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 5;
|
||||
"pm.start_servers" = 2;
|
||||
"pm.min_spare_servers" = 1;
|
||||
"pm.max_spare_servers" = 3;
|
||||
"pm.max_requests" = 500;
|
||||
|
||||
php_admin_value[error_reporting] = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED
|
||||
'';
|
||||
"php_admin_value[error_reporting]" = "E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED";
|
||||
};
|
||||
};
|
||||
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue