diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-17 10:23:47 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-17 10:23:47 +0200 |
commit | b7d2d4e3da7da83bc7f133acaa216375890592b1 (patch) | |
tree | 680c69b19c34dc3de95f3d64dc386096e7f4fa6f /nixops/modules/websites/commons | |
parent | 6984f454ea1c476169b3721721529c2c5bb13eb9 (diff) | |
download | Nix-b7d2d4e3da7da83bc7f133acaa216375890592b1.tar.gz Nix-b7d2d4e3da7da83bc7f133acaa216375890592b1.tar.zst Nix-b7d2d4e3da7da83bc7f133acaa216375890592b1.zip |
Cleanup php session directories
Diffstat (limited to 'nixops/modules/websites/commons')
-rw-r--r-- | nixops/modules/websites/commons/adminer.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixops/modules/websites/commons/adminer.nix b/nixops/modules/websites/commons/adminer.nix index 9c4e132..ab789b3 100644 --- a/nixops/modules/websites/commons/adminer.nix +++ b/nixops/modules/websites/commons/adminer.nix | |||
@@ -28,8 +28,9 @@ let | |||
28 | ;php_admin_flag[log_errors] = on | 28 | ;php_admin_flag[log_errors] = on |
29 | ; Needed to avoid clashes in browser cookies (same domain) | 29 | ; Needed to avoid clashes in browser cookies (same domain) |
30 | php_value[session.name] = AdminerPHPSESSID | 30 | php_value[session.name] = AdminerPHPSESSID |
31 | php_admin_value[open_basedir] = "${webRoot}:/tmp" | 31 | php_admin_value[open_basedir] = "${webRoot}:/tmp:/var/lib/php/sessions/adminer:/var/lib/php/tmp/adminer" |
32 | php_admin_value[session.save_path] = "/var/lib/php/sessions/adminer" | 32 | php_admin_value[session.save_path] = "/var/lib/php/sessions/adminer" |
33 | php_admin_value[upload_tmp_dir] = "/var/lib/php/tmp/adminer" | ||
33 | ''; | 34 | ''; |
34 | }; | 35 | }; |
35 | apache = rec { | 36 | apache = rec { |