jan kaufman | 130eb9b | 2016-01-26 14:47:44 +0100 | [diff] [blame] | 1 | apache: |
| 2 | server: |
| 3 | enabled: true |
| 4 | modules: |
| 5 | - cgi |
| 6 | - php |
Martin Polreich | eebe47a | 2017-06-02 16:29:40 +0200 | [diff] [blame^] | 7 | module_php: php7.0 |
Filip Pytloun | cfffb4e | 2016-02-04 10:59:19 +0100 | [diff] [blame] | 8 | user: |
| 9 | cloudlab: |
| 10 | enabled: true |
| 11 | password: cloudlab |
| 12 | htpasswd: cloudlab.htpasswd |
Filip Pytloun | c0d263b | 2016-04-06 11:19:34 +0200 | [diff] [blame] | 13 | robots: |
| 14 | default: |
| 15 | all: |
| 16 | disallow: |
| 17 | - / |
jan kaufman | 130eb9b | 2016-01-26 14:47:44 +0100 | [diff] [blame] | 18 | site: |
| 19 | roundcube: |
| 20 | enabled: true |
| 21 | type: static |
| 22 | name: roundcube |
| 23 | root: /usr/share/roundcube |
Filip Pytloun | c0d263b | 2016-04-06 11:19:34 +0200 | [diff] [blame] | 24 | robots: default |
jan kaufman | 130eb9b | 2016-01-26 14:47:44 +0100 | [diff] [blame] | 25 | locations: |
| 26 | - uri: /admin |
| 27 | path: /usr/share/postfixadmin |
Filip Pytloun | 590b579 | 2016-01-27 11:24:29 +0100 | [diff] [blame] | 28 | auth: |
| 29 | engine: kerberos |
| 30 | name: "Kerberos Authentication" |
| 31 | require: |
| 32 | - "ldap-attribute memberOf='cn=jenkins,cn=groups,cn=accounts,dc=example,dc=eu'" |
| 33 | kerberos: |
| 34 | realms: |
| 35 | - EXAMPLE.EU |
| 36 | keytab: /etc/apache2/ipa.keytab |
| 37 | service: HTTP |
| 38 | method: |
| 39 | negotiate: true |
| 40 | k5passwd: true |
| 41 | ldap: |
| 42 | url: "ldaps://idm01.example.eu/dc=example,dc=eu?krbPrincipalName" |
| 43 | mech: GSSAPI |
jan kaufman | 130eb9b | 2016-01-26 14:47:44 +0100 | [diff] [blame] | 44 | - uri: /mailman |
| 45 | path: /usr/lib/cgi-bin/mailman |
| 46 | script: true |
Filip Pytloun | cfffb4e | 2016-02-04 10:59:19 +0100 | [diff] [blame] | 47 | auth: |
| 48 | engine: basic |
| 49 | htpasswd: cloudlab.htpasswd |
jan kaufman | 130eb9b | 2016-01-26 14:47:44 +0100 | [diff] [blame] | 50 | - uri: /pipermail |
| 51 | path: /var/lib/mailman/archives/public |
Filip Pytloun | ac4cb5b | 2016-01-27 17:05:31 +0100 | [diff] [blame] | 52 | webdav: |
| 53 | enabled: true |
jan kaufman | 130eb9b | 2016-01-26 14:47:44 +0100 | [diff] [blame] | 54 | - uri: /images/mailman |
| 55 | path: /usr/share/images/mailman |
| 56 | host: |
| 57 | name: mail.example.com |
| 58 | aliases: |
| 59 | - mail.example.com |
| 60 | - lists.example.com |
| 61 | - mail01.example.com |
| 62 | - mail01 |
Filip Pytloun | f6f69c3 | 2016-02-22 15:01:02 +0100 | [diff] [blame] | 63 | default_mpm: prefork |
Filip Pytloun | affb18d | 2016-02-22 13:58:27 +0100 | [diff] [blame] | 64 | mpm: |
| 65 | prefork: |
| 66 | enabled: true |
| 67 | servers: |
| 68 | start: 5 |
| 69 | spare: |
| 70 | min: ${apache:server:mpm:prefork:servers:start} |
| 71 | max: 10 |
| 72 | # Avoid memory leakage by restarting workers every x requests |
| 73 | max_requests: 0 |
| 74 | # Should be 80% of server memory / average memory usage of one worker |
| 75 | max_clients: 150 |
| 76 | # Should be same or more than max clients |
| 77 | limit: ${apache:server:mpm:prefork:max_clients} |