]> git.ipfire.org Git - ipfire-2.x.git/blob - config/httpd/server-tuning.conf
90410186d9f2495f5888ba1c19b29cb7930fdaa0
[ipfire-2.x.git] / config / httpd / server-tuning.conf
1 #
2 # KeepAlive: Whether or not to allow persistent connections (more than
3 # one request per connection). Set to "Off" to deactivate.
4 #
5 KeepAlive On
6
7 #
8 # MaxKeepAliveRequests: The maximum number of requests to allow
9 # during a persistent connection. Set to 0 to allow an unlimited amount.
10 # We recommend you leave this number high, for maximum performance.
11 #
12 MaxKeepAliveRequests 100
13
14 #
15 # KeepAliveTimeout: Number of seconds to wait for the next request from the
16 # same client on the same connection.
17 #
18 KeepAliveTimeout 15
19
20 MinSpareServers 1
21 MaxSpareServers 10
22 StartServers 2
23 MaxClients 256
24
25 #
26 # The following directives modify normal HTTP response behavior to
27 # handle known problems with browser implementations.
28 #
29 BrowserMatch "Mozilla/2" nokeepalive
30 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
31 BrowserMatch "RealPlayer 4\.0" force-response-1.0
32 BrowserMatch "Java/1\.0" force-response-1.0
33 BrowserMatch "JDK/1\.0" force-response-1.0