Switch from deprecated extraConfig to settings for phpfpm.pools.dokuwiki
This commit is contained in:
		
					parent
					
						
							
								827b6b41c1
							
						
					
				
			
			
				commit
				
					
						4e095c1a85
					
				
			
		
					 1 changed files with 10 additions and 10 deletions
				
			
		|  | @ -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 = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue