Remove php config
This commit is contained in:
parent
073dd48030
commit
427c0b3fb7
|
@ -4,7 +4,6 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nginx
|
||||
php
|
||||
postgresql_11
|
||||
libressl
|
||||
miniflux
|
||||
|
@ -126,33 +125,6 @@
|
|||
startAt = "*-*-* 05:15:00";
|
||||
};
|
||||
|
||||
# PHP-fpm configuration
|
||||
services.phpfpm = {
|
||||
pools = {
|
||||
mypool = {
|
||||
user = "php";
|
||||
group = "php";
|
||||
phpPackage = pkgs.php;
|
||||
settings = {
|
||||
"pm" = "static";
|
||||
"pm.max_children" = 4;
|
||||
"pm.start_servers" = 2;
|
||||
"pm.min_spare_servers" = 2;
|
||||
"pm.max_spare_servers" = 4;
|
||||
"pm.max_requests" = 500;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Create php and group user
|
||||
users.users.php = {
|
||||
extraGroups = [ "php" ];
|
||||
};
|
||||
|
||||
users.groups.php = {
|
||||
members = [ "php" ];
|
||||
};
|
||||
|
||||
# Miniflux configuration
|
||||
services.miniflux = {
|
||||
|
|
Loading…
Reference in New Issue