aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/piedsjaloux/production.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-03-25 11:57:48 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-03 16:25:07 +0200
commit5400b9b6f65451d41a9106fae6fc00f97d83f4ef (patch)
tree6ed072da7b1f17ac3994ffea052aa0c0822f8446 /modules/private/websites/piedsjaloux/production.nix
parent441da8aac378f401625e82caf281fa0e26128310 (diff)
downloadNix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.gz
Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.zst
Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.zip
Upgrade nixos
Diffstat (limited to 'modules/private/websites/piedsjaloux/production.nix')
-rw-r--r--modules/private/websites/piedsjaloux/production.nix24
1 files changed, 13 insertions, 11 deletions
diff --git a/modules/private/websites/piedsjaloux/production.nix b/modules/private/websites/piedsjaloux/production.nix
index e4e29c7..d3e5c2b 100644
--- a/modules/private/websites/piedsjaloux/production.nix
+++ b/modules/private/websites/piedsjaloux/production.nix
@@ -24,17 +24,19 @@ in {
24 "./bin/console --env=${app.environment} cache:clear --no-warmup" 24 "./bin/console --env=${app.environment} cache:clear --no-warmup"
25 ]; 25 ];
26 phpOpenbasedir = [ "/tmp" ]; 26 phpOpenbasedir = [ "/tmp" ];
27 phpPool = '' 27 phpPool = {
28 php_admin_value[upload_max_filesize] = 20M 28 "php_admin_value[upload_max_filesize]" = "20M";
29 php_admin_value[post_max_size] = 20M 29 "php_admin_value[post_max_size]" = "20M";
30 ;php_admin_flag[log_errors] = on 30 #"php_admin_flag[log_errors]" = "on";
31 env[PATH] = ${lib.makeBinPath [ pkgs.apg pkgs.unzip ]} 31 "pm" = "dynamic";
32 pm = dynamic 32 "pm.max_children" = "20";
33 pm.max_children = 20 33 "pm.start_servers" = "2";
34 pm.start_servers = 2 34 "pm.min_spare_servers" = "1";
35 pm.min_spare_servers = 1 35 "pm.max_spare_servers" = "3";
36 pm.max_spare_servers = 3 36 };
37 ''; 37 phpEnv = {
38 PATH = lib.makeBinPath [ pkgs.apg pkgs.unzip ];
39 };
38 phpWatchFiles = [ 40 phpWatchFiles = [
39 config.secrets.fullPaths."webapps/${app.environment}-piedsjaloux" 41 config.secrets.fullPaths."webapps/${app.environment}-piedsjaloux"
40 ]; 42 ];