blob: 304285e5c86826a3b4ef226f179921ab65aa4784 [file] [log] [blame]
Filip Pytloun410abc42015-10-06 16:28:31 +02001applications:
2- apache
Ales Komarek745dd492015-12-03 15:04:35 +01003classes:
4- service.apache.support
Filip Pytloun410abc42015-10-06 16:28:31 +02005parameters:
6 apache:
7 server:
8 enabled: true
9 bind:
10 address: 0.0.0.0
11 ports:
12 - 80
13 - 443
14 protocol: tcp
15 modules:
16 - ssl
17 - rewrite
Filip Pytlounc135fa52015-11-25 12:28:45 +010018 mpm:
19 prefork:
20 enabled: true
21 servers:
22 start: 5
23 spare:
Filip Pytloun28946ff2015-11-25 12:39:40 +010024 min: ${apache:server:mpm:prefork:servers:start}
Filip Pytlounc135fa52015-11-25 12:28:45 +010025 max: 10
26 # Avoid memory leakage by restarting workers every x requests
27 max_requests: 0
28 # Should be 80% of server memory / average memory usage of one worker
29 max_clients: 150
30 # Should be same or more than max clients
Filip Pytloun28946ff2015-11-25 12:39:40 +010031 limit: ${apache:server:mpm:prefork:max_clients}
Filip Pytlounc135fa52015-11-25 12:28:45 +010032 event:
33 enabled: false
34 worker:
35 enabled: false