From 6e19eee8bbc66b75282ecfd9b556629e1dfd0474 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sun, 22 Dec 2024 23:21:08 -0800 Subject: [PATCH] added php worpress security --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index d91b340..a3f386d 100755 --- a/configuration.nix +++ b/configuration.nix @@ -8,6 +8,7 @@ let custom-php = pkgs.php83.buildEnv { extensions = { enabled, all }: enabled ++ (with all; [ bz2 apcu redis imagick memcached ]); extraConfig = '' + display_errors = On display_startup_errors = On max_execution_time = 10000 @@ -24,6 +25,8 @@ let redis.session.locking_enabled=1 redis.session.lock_retries=-1 redis.session.lock_wait_time=10000 + auto_prepend_file='/var/lib/www/wordpress/aios-bootstrap.php' + ''; }; in