default[:apache][:listen_address] = "*"
default[:apache][:buffered_logs] = true
+
+default[:apache][:reqtimeout] = false
conf "deflate.conf.erb"
end
-apache_module "reqtimeout" do
- action [:disable]
+if node[:apache][:reqtimeout]
+ apache_module "reqtimeout" do
+ action [:enable]
+ end
+else
+ apache_module "reqtimeout" do
+ action [:disable]
+ end
end
apache_module "ssl"
apache_module "proxy_fcgi"
apache_module "proxy_http"
apache_module "headers"
-apache_module "reqtimeout"
service "php7.0-fpm" do
action [:enable, :start]
:mpm => "event",
:timeout => 60,
:keepalive => false,
+ :reqtimeout => true,
:event => {
:server_limit => 32,
:max_request_workers => 1600,