summaryrefslogtreecommitdiff
path: root/http/php-fpm.conf
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-22 23:45:46 +0100
committerJoe Carstairs <me@joeac.net>2026-06-22 23:45:46 +0100
commite04d1e55a1444e2504d274dd779fc62a2bb0b22b (patch)
tree7e190220c83bd31040438562e3ec4dbb3789165e /http/php-fpm.conf
parente23f053b89e0e4680a29630b79097afcec05a48e (diff)
adds nginx/php-fpm config
Diffstat (limited to 'http/php-fpm.conf')
-rw-r--r--http/php-fpm.conf17
1 files changed, 17 insertions, 0 deletions
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