]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Remove tmp from phpfpm
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 11 Apr 2020 18:54:53 +0000 (20:54 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 11 Apr 2020 18:54:53 +0000 (20:54 +0200)
modules/private/websites/tools/tools/adminer.nix

index f8928417686aee2ada2dc9509192db51f422694c..61fd37c867d72813007e58a571b0ee7888ce0152 100644 (file)
@@ -4,7 +4,6 @@ rec {
     deps = [ "httpd" ];
     text = ''
       install -m 0755 -o ${apache.user} -g ${apache.group} -d /var/lib/php/sessions/adminer
-      install -m 0755 -o ${apache.user} -g ${apache.group} -d /var/lib/php/tmp/adminer
       '';
   };
   webRoot = adminer;
@@ -21,9 +20,8 @@ rec {
       #"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:/var/lib/php/sessions/adminer:/var/lib/php/tmp/adminer";
+      "php_admin_value[open_basedir]" = "${webRoot}:/tmp:/var/lib/php/sessions/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 {