diff --git a/templates/openstack_https_frontend.conf b/templates/openstack_https_frontend.conf index 25655026..42a78b85 100644 --- a/templates/openstack_https_frontend.conf +++ b/templates/openstack_https_frontend.conf @@ -22,6 +22,8 @@ Listen {{ ext_port }} ProxyPassReverse / http://localhost:{{ int }}/ ProxyPreserveHost on RequestHeader set X-Forwarded-Proto "https" + KeepAliveTimeout 75 + MaxKeepAliveRequests 1000 IncludeOptional /etc/apache2/mellon*/sp-location*.conf {% endfor -%} diff --git a/templates/wsgi-openstack-api.conf b/templates/wsgi-openstack-api.conf index dedb39d8..90cc2829 100644 --- a/templates/wsgi-openstack-api.conf +++ b/templates/wsgi-openstack-api.conf @@ -21,6 +21,8 @@ Listen {{ public_port }} WSGIScriptAlias / {{ script }} WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On + KeepAliveTimeout 75 + MaxKeepAliveRequests 1000 = 2.4> ErrorLogFormat "%{cu}t %M" @@ -50,6 +52,8 @@ Listen {{ public_port }} WSGIScriptAlias / {{ admin_script }} WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On + KeepAliveTimeout 75 + MaxKeepAliveRequests 1000 = 2.4> ErrorLogFormat "%{cu}t %M" @@ -79,6 +83,8 @@ Listen {{ public_port }} WSGIScriptAlias / {{ public_script }} WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On + KeepAliveTimeout 75 + MaxKeepAliveRequests 1000 = 2.4> ErrorLogFormat "%{cu}t %M"