From b7d2d4e3da7da83bc7f133acaa216375890592b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 17 Apr 2019 10:23:47 +0200 Subject: Cleanup php session directories --- nixops/modules/websites/commons/adminer.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nixops/modules/websites/commons') 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 ;php_admin_flag[log_errors] = on ; Needed to avoid clashes in browser cookies (same domain) php_value[session.name] = AdminerPHPSESSID - php_admin_value[open_basedir] = "${webRoot}:/tmp" + php_admin_value[open_basedir] = "${webRoot}:/tmp:/var/lib/php/sessions/adminer:/var/lib/php/tmp/adminer" php_admin_value[session.save_path] = "/var/lib/php/sessions/adminer" + php_admin_value[upload_tmp_dir] = "/var/lib/php/tmp/adminer" ''; }; apache = rec { -- cgit v1.2.3