summaryrefslogtreecommitdiff
path: root/roles/http/templates/php-fpm
diff options
context:
space:
mode:
Diffstat (limited to 'roles/http/templates/php-fpm')
-rw-r--r--roles/http/templates/php-fpm/joeac.net.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/http/templates/php-fpm/joeac.net.conf b/roles/http/templates/php-fpm/joeac.net.conf
new file mode 100644
index 0000000..30c120d
--- /dev/null
+++ b/roles/http/templates/php-fpm/joeac.net.conf
@@ -0,0 +1,23 @@
+[joeac.net]
+user = nginx
+group = nginx
+listen = {{ http_phpfpm_socket }}
+listen.owner = nginx
+listen.group = nginx
+listen.mode = 0660
+
+access.log = /var/log/php85/$pool.access.log
+access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{milli}d %{kilo}M %C%%"
+catch_workers_output = yes
+php_admin_value[error_log] = /var/log/php85/$pool.error.log
+php_admin_flag[log_errors] = on
+
+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