diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-11 21:44:26 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-11 21:44:26 +0100 |
| commit | 74b9185a404ace70030e57e0ad493478227a5eac (patch) | |
| tree | 5f32d05d842ef726412ead2932d9157fd2f1df58 /ansible/roles/http/templates/php-fpm/joeac.net.conf | |
| parent | 4e73a59d76e8c4949908e766657f5d634d39fb67 (diff) | |
ansible installs joeac.net website
Diffstat (limited to 'ansible/roles/http/templates/php-fpm/joeac.net.conf')
| -rw-r--r-- | ansible/roles/http/templates/php-fpm/joeac.net.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ansible/roles/http/templates/php-fpm/joeac.net.conf b/ansible/roles/http/templates/php-fpm/joeac.net.conf new file mode 100644 index 0000000..30c120d --- /dev/null +++ b/ansible/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 |
