From e04d1e55a1444e2504d274dd779fc62a2bb0b22b Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Mon, 22 Jun 2026 23:45:46 +0100 Subject: adds nginx/php-fpm config --- http/php-fpm.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 http/php-fpm.conf (limited to 'http/php-fpm.conf') diff --git a/http/php-fpm.conf b/http/php-fpm.conf new file mode 100644 index 0000000..63268c7 --- /dev/null +++ b/http/php-fpm.conf @@ -0,0 +1,17 @@ +[joeac.net] +user = nginx +group = nginx +listen = /run/php/php8.1-fpm-joeac.net-http.sock +listen.owner = nginx +listen.group = nginx +listen.mode = 0660 + +php_admin_value[disable_functions] = exec,passthru,shell_exec,system +php_admin_flag[allow_url_fopen] = off + +pm = dynamic +pm.max_children = 20 +pm.start_servers = 4 +pm.min_spare_servers = 2 +pm.max_spare_servers = 8 +pm.max_requests = 500 -- cgit v1.2.3