aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/connexionswing/integration.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/connexionswing/integration.nix
parent441da8aac378f401625e82caf281fa0e26128310 (diff)
downloadNix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.gz
Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.zst
Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.zip
Upgrade nixos
Diffstat (limited to 'modules/private/websites/connexionswing/integration.nix')
-rw-r--r--modules/private/websites/connexionswing/integration.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/modules/private/websites/connexionswing/integration.nix b/modules/private/websites/connexionswing/integration.nix
index 81cff8f..4f7b72d 100644
--- a/modules/private/websites/connexionswing/integration.nix
+++ b/modules/private/websites/connexionswing/integration.nix
@@ -25,15 +25,17 @@ in {
25 "./bin/console --env=${app.environment} cache:clear --no-warmup" 25 "./bin/console --env=${app.environment} cache:clear --no-warmup"
26 ]; 26 ];
27 phpOpenbasedir = [ "/tmp" "/run/wrappers/bin/sendmail" ]; 27 phpOpenbasedir = [ "/tmp" "/run/wrappers/bin/sendmail" ];
28 phpPool = '' 28 phpPool = {
29 php_admin_value[upload_max_filesize] = 20M 29 "php_admin_value[upload_max_filesize]" = "20M";
30 php_admin_value[post_max_size] = 20M 30 "php_admin_value[post_max_size]" = "20M";
31 ;php_admin_flag[log_errors] = on 31 #"php_admin_flag[log_errors]" = "on";
32 pm = ondemand 32 "pm" = "ondemand";
33 pm.max_children = 5 33 "pm.max_children" = "5";
34 pm.process_idle_timeout = 60 34 "pm.process_idle_timeout" = "60";
35 env[SYMFONY_DEBUG_MODE] = "yes" 35 };
36 ''; 36 phpEnv = {
37 SYMFONY_DEBUG_MODE = "yes";
38 };
37 phpWatchFiles = [ 39 phpWatchFiles = [
38 config.secrets.fullPaths."webapps/${app.environment}-connexionswing" 40 config.secrets.fullPaths."webapps/${app.environment}-connexionswing"
39 ]; 41 ];