diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-25 11:57:48 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-03 16:25:07 +0200 |
commit | 5400b9b6f65451d41a9106fae6fc00f97d83f4ef (patch) | |
tree | 6ed072da7b1f17ac3994ffea052aa0c0822f8446 /modules/private/websites/connexionswing | |
parent | 441da8aac378f401625e82caf281fa0e26128310 (diff) | |
download | Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.gz Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.zst Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.zip |
Upgrade nixos
Diffstat (limited to 'modules/private/websites/connexionswing')
-rw-r--r-- | modules/private/websites/connexionswing/integration.nix | 20 | ||||
-rw-r--r-- | modules/private/websites/connexionswing/production.nix | 20 |
2 files changed, 21 insertions, 19 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 | ]; |
diff --git a/modules/private/websites/connexionswing/production.nix b/modules/private/websites/connexionswing/production.nix index fa31931..0b52af1 100644 --- a/modules/private/websites/connexionswing/production.nix +++ b/modules/private/websites/connexionswing/production.nix | |||
@@ -26,16 +26,16 @@ in { | |||
26 | "./bin/console --env=${app.environment} cache:clear --no-warmup" | 26 | "./bin/console --env=${app.environment} cache:clear --no-warmup" |
27 | ]; | 27 | ]; |
28 | phpOpenbasedir = [ "/tmp" "/run/wrappers/bin/sendmail" ]; | 28 | phpOpenbasedir = [ "/tmp" "/run/wrappers/bin/sendmail" ]; |
29 | phpPool = '' | 29 | phpPool = { |
30 | php_admin_value[upload_max_filesize] = 20M | 30 | "php_admin_value[upload_max_filesize]" = "20M"; |
31 | php_admin_value[post_max_size] = 20M | 31 | "php_admin_value[post_max_size]" = "20M"; |
32 | ;php_admin_flag[log_errors] = on | 32 | #"php_admin_flag[log_errors]" = "on"; |
33 | pm = dynamic | 33 | "pm" = "dynamic"; |
34 | pm.max_children = 20 | 34 | "pm.max_children" = "20"; |
35 | pm.start_servers = 2 | 35 | "pm.start_servers" = "2"; |
36 | pm.min_spare_servers = 1 | 36 | "pm.min_spare_servers" = "1"; |
37 | pm.max_spare_servers = 3 | 37 | "pm.max_spare_servers" = "3"; |
38 | ''; | 38 | }; |
39 | phpWatchFiles = [ | 39 | phpWatchFiles = [ |
40 | config.secrets.fullPaths."webapps/${app.environment}-connexionswing" | 40 | config.secrets.fullPaths."webapps/${app.environment}-connexionswing" |
41 | ]; | 41 | ]; |