ansible-role-sso/files/www.conf.gotmpl

24 lines
720 B
Go Template
Raw Permalink Normal View History

2024-07-12 16:51:29 +02:00
{%- raw -%}
[www]
user = www-data
group = www-data
listen = {{ env.Getenv "PHP_FPM_LISTEN" "/tmp/php-fpm.sock" }}
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
pm = dynamic
pm.max_children = {{ env.Getenv "PHP_FPM_MAX_CHILDREN" "5" }}
pm.start_servers = {{ env.Getenv "PHP_FPM_START_SERVERS" "2" }}
pm.min_spare_servers = {{ env.Getenv "PHP_FPM_MIN_SPARE_SERVERS" "1" }}
pm.max_spare_servers = {{ env.Getenv "PHP_FPM_MAX_SPARE_SERVERS" "3" }}
pm.status_path = /healthcheck
pm.status_listen = 127.0.0.1:8091
clear_env = no
php_admin_value[display_errors] = {{ env.Getenv "PHP_FPM_DISPLAY_ERRORS" "off" }}
php_admin_value[memory_limit] = {{ env.Getenv "PHP_FPM_MEMORY_LIMIT" "32m" }}
{% endraw %}