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