You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2

17 lines
441 B

[www]
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
user = {{ php_fpm_pool_user }}
group = {{ php_fpm_pool_group }}
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 5
pm.max_requests = 500
security.limit_extensions = .php .php3 .php4 .php5 .php7
chdir = /var/www/html/{{ server_hostname }}
catch_workers_output = yes
php_admin_value[memory_limit] = {{ php_memory_limit }}