Filip Pytloun | 410abc4 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - apache |
| 3 | parameters: |
| 4 | apache: |
| 5 | server: |
| 6 | enabled: true |
| 7 | bind: |
| 8 | address: 0.0.0.0 |
| 9 | ports: |
| 10 | - 80 |
| 11 | - 443 |
| 12 | protocol: tcp |
| 13 | modules: |
| 14 | - ssl |
| 15 | - rewrite |
Filip Pytloun | c135fa5 | 2015-11-25 12:28:45 +0100 | [diff] [blame^] | 16 | mpm: |
| 17 | prefork: |
| 18 | enabled: true |
| 19 | servers: |
| 20 | start: 5 |
| 21 | spare: |
| 22 | min: ${apache:server:mpm:servers:start} |
| 23 | max: 10 |
| 24 | # Avoid memory leakage by restarting workers every x requests |
| 25 | max_requests: 0 |
| 26 | # Should be 80% of server memory / average memory usage of one worker |
| 27 | max_clients: 150 |
| 28 | # Should be same or more than max clients |
| 29 | limit: ${apache:server:mpm:max_clients} |
| 30 | event: |
| 31 | enabled: false |
| 32 | worker: |
| 33 | enabled: false |