You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
792 B
Plaintext

[{{ pool_name }}]
user = {{ system_user }}
group = {{ nginx_system_user }}
listen = {{ socket }}
listen.owner = {{ system_user }}
listen.group = {{ nginx_system_user }}
listen.mode = 0660
pm = dynamic
pm.max_children = 8
pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 6
pm.max_requests = 1000
clear_env = no
chdir = {{ src }}
security.limit_extensions = .php .php3 .php4 .php5 .php7
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
{% for key,val in env_vars.items() %}
env[{{ key }}] = {{ val | quote }}
{% endfor %}
php_admin_value[include_path] = ".:{{ includes | join(':') }}:/usr/share/php"
{% if memory_limit is defined %}
php_admin_value[memory_limit] = {{ memory_limit }}
{% endif %}