]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/fpm.conf.erb
Use "429 Too Many Requests" for apache 2.4 compatibility
[chef.git] / cookbooks / nominatim / templates / default / fpm.conf.erb
1 ; DO NOT EDIT - This file is being maintained by Chef
2
3 [<%= @name %>]
4 <% if @port -%>
5 listen = 127.0.0.1:<%= @port %>
6 <% else -%>
7 listen = /var/run/php5-fpm-<%= @name %>.sock
8 <% end -%>
9
10 user = www-data
11 group = www-data
12
13 pm = <%= @pm %>
14 pm.max_children = <%= @max_children %>
15 pm.start_servers = 20
16 pm.min_spare_servers = 10
17 pm.max_spare_servers = 20
18 pm.max_requests = 1000000
19
20 security.limit_extensions = .php .phpx .phpj