added php worpress security
This commit is contained in:
parent
35e5e6dfc5
commit
6e19eee8bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user