]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/fpm.conf.erb
put nominatim's php-fpm config under chef control
[chef.git] / 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
new file mode 100644 (file)
index 0000000..78b1c01
--- /dev/null
@@ -0,0 +1,16 @@
+; DO NOT EDIT - This file is being maintained by Chef
+
+[<%= @name %>]
+listen = /var/run/php5-fpm-<%= @name %>.sock
+
+user = www-data
+group = www-data
+
+pm = <%= @pm %>
+pm.max_children = <%= @max_children %>
+pm.start_servers = 20
+pm.min_spare_servers = 20
+pm.max_spare_servers = 30
+pm.max_requests = 1000000
+
+security.limit_extensions = .php .phpx .phpj