]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/resources/fpm.rb
wordpress: block xmlrpc.php access for the moment
[chef.git] / cookbooks / php / resources / fpm.rb
index b63a0c814a2de01e85891fb33bd1019d6670d7a9..3ac51d0b7986b4aa2c7425219501b79cfdd0d48a 100644 (file)
@@ -57,7 +57,7 @@ action :create do
       service service_name
       group "www-data"
       command "server"
-      options "--phpfpm.scrape-uri=#{scrape_uri}"
+      options "--phpfpm.scrape-uri=#{scrape_uri} --phpfpm.fix-process-count"
     end
   else
     prometheus_exporter "phpfpm" do