From fe5a88f90333fb01fd0defc2357ae6bf55b9beda Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 30 Jun 2022 19:55:08 +0200 Subject: [PATCH] nextcloud: Enferne ungenutzte Optionen aus FPM-Pool --- templates/php_fpm_pool.j2 | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/templates/php_fpm_pool.j2 b/templates/php_fpm_pool.j2 index af29d9f..d8d7bd7 100644 --- a/templates/php_fpm_pool.j2 +++ b/templates/php_fpm_pool.j2 @@ -3,12 +3,9 @@ user = $pool group = $pool listen = /run/php/php-fpm-$pool.sock -;listen.backlog = 65535 listen.owner = $pool listen.group = www-data listen.mode = 0660 -;listen.acl_users = -;listen.acl_groups = listen.allowed_clients = 127.0.0.1 pm = dynamic pm.max_children = 60 @@ -18,18 +15,7 @@ pm.max_spare_servers = 30 pm.process_idle_timeout = 10s; pm.max_requests = 100 pm.status_path = /status -;ping.path = /ping -;ping.response = pong -;access.log = log/$pool.access.log -;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%" -;slowlog = log/$pool.log.slow -;request_slowlog_timeout = 0 -;request_terminate_timeout = 0 -;rlimit_files = 1024 -;rlimit_core = 0 -;chroot = chdir = / -;catch_workers_output = yes clear_env = no security.limit_extensions = .php .php3 .php4 .php5 env[HOSTNAME] = $HOSTNAME @@ -51,4 +37,4 @@ php_admin_value[opcache.memory_consumption] = 128 php_admin_value[opcache.save_comments] = 1 php_admin_value[opcache.revalidate_freq] = 1 php_admin_value[open_basedir] = {{ nextcloud_install_path }}:/tmp:/dev/urandom:/proc/meminfo:/var/log:/sys/class/net/eth0:/sys/class/net/lo -;php_admin_value[disable_functions] = mail,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_exec,passthru,system,proc_get_status,proc_close,proc_nice,proc_terminate,proc_open,curl_ini,parse_ini_file,show_source,dl,symlink,system_exec,exec,shell_exec,phpinfo \ No newline at end of file +;php_admin_value[disable_functions] = mail,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_exec,passthru,system,proc_get_status,proc_close,proc_nice,proc_terminate,proc_open,curl_ini,parse_ini_file,show_source,dl,symlink,system_exec,exec,shell_exec,phpinfo