LoutreOS: disable redis

This commit is contained in:
nyanloutre 2022-07-05 20:40:48 +02:00
parent 4f0c846880
commit be051f67d3
2 changed files with 14 additions and 14 deletions

View File

@ -90,7 +90,7 @@ in
secure_ip = ["0.0.0.0/0"]; secure_ip = ["0.0.0.0/0"];
''; '';
redis.enable = true; # redis.enable = true;
logrotate = { logrotate = {
enable = true; enable = true;

View File

@ -65,19 +65,19 @@ in
services = { services = {
phpfpm.pools = { phpfpm.pools = {
work = { # work = {
user = config.users.users.work.name; # user = config.users.users.work.name;
phpPackage = pkgs.php.withExtensions ({ all, ... }: with all; [ redis filter ]); # phpPackage = pkgs.php.withExtensions ({ all, ... }: with all; [ redis filter ]);
settings = { # settings = {
"listen.owner" = config.services.nginx.user; # "listen.owner" = config.services.nginx.user;
"pm" = "dynamic"; # "pm" = "dynamic";
"pm.max_children" = 75; # "pm.max_children" = 75;
"pm.start_servers" = 10; # "pm.start_servers" = 10;
"pm.min_spare_servers" = 5; # "pm.min_spare_servers" = 5;
"pm.max_spare_servers" = 20; # "pm.max_spare_servers" = 20;
"pm.max_requests" = 500; # "pm.max_requests" = 500;
}; # };
}; # };
drive = { drive = {
user = config.users.users.webdav.name; user = config.users.users.webdav.name;
settings = { settings = {