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