Ease KeepAliveTimeout
Apache2's default value for KeepAliveTimeout is 5 seconds, which is okay for general web-page serving use cases. However, connections from a web browser to Horizon application can be terminated unnecessarily during multiple requests in a session due to the short KeepAliveTimeout. Let's ease KeepAliveTimeout to 75 seconds, which is fairly standard for services behind a reverse proxy since it's the default value of nginx. Closes-Bug: #1947010 Change-Id: Iff9357e5efb7937927a8d0a6de072d4afaa98906
This commit is contained in:
parent
5bfac0a352
commit
dbc4077ba5
|
@ -34,4 +34,6 @@
|
|||
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
KeepAliveTimeout 75
|
||||
MaxKeepAliveRequests 1000
|
||||
</VirtualHost>
|
||||
|
|
|
@ -55,6 +55,8 @@ NameVirtualHost *:{{ 443 }}
|
|||
{% endif %}
|
||||
Header set X-XSS-Protection "1; mode=block"
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
KeepAliveTimeout 75
|
||||
MaxKeepAliveRequests 1000
|
||||
<FilesMatch "\.(cgi|shtml|phtml|php)$">
|
||||
SSLOptions +StdEnvVars
|
||||
</FilesMatch>
|
||||
|
|
Loading…
Reference in New Issue