]> git.ipfire.org Git - ipfire-2.x.git/blame - config/httpd/server-tuning.conf
Update to apache 2.4.27
[ipfire-2.x.git] / config / httpd / server-tuning.conf
CommitLineData
90c973a6
MT
1#
2# KeepAlive: Whether or not to allow persistent connections (more than
3# one request per connection). Set to "Off" to deactivate.
4#
5KeepAlive 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#
12MaxKeepAliveRequests 100
13
14#
15# KeepAliveTimeout: Number of seconds to wait for the next request from the
16# same client on the same connection.
17#
18KeepAliveTimeout 15
19
d41fe99f
WA
20MinSpareThreads 1
21MaxSpareThreads 20
c016773b 22StartServers 2
d41fe99f
WA
23MaxRequestWorkers 256
24ThreadsPerChild 16
90c973a6
MT
25
26#
27# The following directives modify normal HTTP response behavior to
28# handle known problems with browser implementations.
29#
30BrowserMatch "Mozilla/2" nokeepalive
31BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
32BrowserMatch "RealPlayer 4\.0" force-response-1.0
33BrowserMatch "Java/1\.0" force-response-1.0
34BrowserMatch "JDK/1\.0" force-response-1.0