blob: fe53ffab2acf4a4890fb04146a5f5ce4f52555fd [file] [log] [blame]
apache:
server:
enabled: true
modules:
- cgi
- php
user:
cloudlab:
enabled: true
password: cloudlab
htpasswd: cloudlab.htpasswd
robots:
default:
all:
disallow:
- /
site:
roundcube:
enabled: true
type: static
name: roundcube
root: /usr/share/roundcube
robots: default
locations:
- uri: /admin
path: /usr/share/postfixadmin
auth:
engine: kerberos
name: "Kerberos Authentication"
require:
- "ldap-attribute memberOf='cn=jenkins,cn=groups,cn=accounts,dc=example,dc=eu'"
kerberos:
realms:
- EXAMPLE.EU
keytab: /etc/apache2/ipa.keytab
service: HTTP
method:
negotiate: true
k5passwd: true
ldap:
url: "ldaps://idm01.example.eu/dc=example,dc=eu?krbPrincipalName"
mech: GSSAPI
- uri: /mailman
path: /usr/lib/cgi-bin/mailman
script: true
auth:
engine: basic
htpasswd: cloudlab.htpasswd
- uri: /pipermail
path: /var/lib/mailman/archives/public
webdav:
enabled: true
- uri: /images/mailman
path: /usr/share/images/mailman
host:
name: mail.example.com
aliases:
- mail.example.com
- lists.example.com
- mail01.example.com
- mail01
default_mpm: prefork
mpm:
prefork:
enabled: true
servers:
start: 5
spare:
min: ${apache:server:mpm:prefork:servers:start}
max: 10
# Avoid memory leakage by restarting workers every x requests
max_requests: 0
# Should be 80% of server memory / average memory usage of one worker
max_clients: 150
# Should be same or more than max clients
limit: ${apache:server:mpm:prefork:max_clients}