From a271fddff8826d06663b7c94d218e73ca64379ce Mon Sep 17 00:00:00 2001 From: June Date: Mon, 15 Jul 2024 02:44:37 +0200 Subject: [PATCH] Switch from deprecated extraConfig to settings for phpfpm.pools.dokuwiki --- config/hosts/eh22-wiki/dokuwiki.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config/hosts/eh22-wiki/dokuwiki.nix b/config/hosts/eh22-wiki/dokuwiki.nix index 133e39a..c0eafaa 100644 --- a/config/hosts/eh22-wiki/dokuwiki.nix +++ b/config/hosts/eh22-wiki/dokuwiki.nix @@ -57,16 +57,16 @@ in { ; Checked with NixOS 23.11 on 2024-05-02. extension = ${pkgs.phpExtensions.bz2}/lib/php/extensions/bz2.so ''; - extraConfig = '' - listen.owner = ${config.services.nginx.user}; - listen.group = ${config.services.nginx.group}; - pm = dynamic - pm.max_children = 32 - pm.start_servers = 2 - pm.min_spare_servers = 2 - pm.max_spare_servers = 4 - pm.max_requests = 500 - ''; + settings = { + "listen.owner" = "${config.services.nginx.user}"; + "listen.group" = "${config.services.nginx.group}"; + "pm" = "dynamic"; + "pm.max_children" = 32; + "pm.start_servers" = 2; + "pm.min_spare_servers" = 2; + "pm.max_spare_servers" = 4; + "pm.max_requests" = 500; + }; }; services.nginx = {