Filip Pytloun | 410abc4 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - apache |
Ales Komarek | 745dd49 | 2015-12-03 15:04:35 +0100 | [diff] [blame^] | 3 | classes: |
| 4 | - service.apache.support |
Filip Pytloun | 410abc4 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 5 | parameters: |
| 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 Pytloun | c135fa5 | 2015-11-25 12:28:45 +0100 | [diff] [blame] | 18 | mpm: |
| 19 | prefork: |
| 20 | enabled: true |
| 21 | servers: |
| 22 | start: 5 |
| 23 | spare: |
Filip Pytloun | 28946ff | 2015-11-25 12:39:40 +0100 | [diff] [blame] | 24 | min: ${apache:server:mpm:prefork:servers:start} |
Filip Pytloun | c135fa5 | 2015-11-25 12:28:45 +0100 | [diff] [blame] | 25 | 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 Pytloun | 28946ff | 2015-11-25 12:39:40 +0100 | [diff] [blame] | 31 | limit: ${apache:server:mpm:prefork:max_clients} |
Filip Pytloun | c135fa5 | 2015-11-25 12:28:45 +0100 | [diff] [blame] | 32 | event: |
| 33 | enabled: false |
| 34 | worker: |
| 35 | enabled: false |