X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/720abae3e8f61545f741e649c38b810493790830..2c757a2fd949081d5a4d92db6cc719d0147f7d00:/cookbooks/nominatim/templates/default/fpm.conf.erb diff --git a/cookbooks/nominatim/templates/default/fpm.conf.erb b/cookbooks/nominatim/templates/default/fpm.conf.erb index 1aa405f59..386769efc 100644 --- a/cookbooks/nominatim/templates/default/fpm.conf.erb +++ b/cookbooks/nominatim/templates/default/fpm.conf.erb @@ -5,6 +5,8 @@ listen = 127.0.0.1:<%= @port %> <% else -%> listen = /var/run/php5-fpm-<%= @name %>.sock +listen.owner = www-data +listen.group = www-data <% end -%> user = www-data @@ -15,6 +17,6 @@ pm.max_children = <%= @max_children %> pm.start_servers = 20 pm.min_spare_servers = 10 pm.max_spare_servers = 20 -pm.max_requests = 1000000 +pm.max_requests = 10000 security.limit_extensions = .php .phpx .phpj