server.ini.master 3.54 KB
Newer Older
1 2 3 4 5
[global]
webserver=apache
mailserver=postfix
dnsserver=mydns

6

7
[server]
8 9 10 11 12 13
auto_network_configuration=n
ip_address=0.0.0.0
netmask=255.255.255.0
gateway=0.0.0.0
hostname=server1.domain.tld
nameservers=8.8.8.8,8.8.4.4
14
firewall=bastille
15
loglevel=2
16
admin_notify_events=1
17
backup_dir=/var/backup
18
backup_mode=rootgz
19 20 21 22 23 24
monit_url=
monit_user=
monit_password=
munin_url=
munin_user=
munin_password=
25 26 27

[mail]
module=postfix_mysql
28 29
maildir_path=/var/vmail/[domain]/[localpart]
homedir_path=/var/vmail
tbrehm's avatar
tbrehm committed
30
dkim_path=/var/lib/amavis/dkim
31 32
pop3_imap_daemon=courier
mail_filter_syntax=maildrop
33 34 35 36 37 38 39 40 41
mailuser_uid=5000
mailuser_gid=5000
mailuser_name=vmail
mailuser_group=vmail
relayhost=
relayhost_user=
relayhost_password=
mailbox_size_limit=0
message_size_limit=0
42
mailbox_quota_stats=y
marknl's avatar
marknl committed
43
realtime_blackhole_list=
44 45 46 47
overquota_notify_admin=y
overquota_notify_client=y
overquota_notify_freq=7
overquota_notify_onok=n
48 49 50 51 52

[getmail]
getmail_config_dir=/etc/getmail

[web]
53
server_type=apache
54
website_basedir=/var/www
55 56 57 58 59 60
website_path=/var/www/clients/client[client_id]/web[website_id]
website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
website_symlinks_rel=n
vhost_conf_dir=/etc/apache2/sites-available
vhost_conf_enabled_dir=/etc/apache2/sites-enabled
nginx_vhost_conf_dir=/etc/nginx/sites-available
61
nginx_vhost_conf_enabled_dir=/etc/nginx/sites-enabled
62
security_level=20
tbrehm's avatar
tbrehm committed
63 64
user=www-data
group=www-data
65 66
nginx_user=www-data
nginx_group=www-data
67 68 69
apps_vhost_port=8081
apps_vhost_ip=_default_
apps_vhost_servername=
70
php_open_basedir=[website_path]/web:[website_path]/private:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
71
htaccess_allow_override=All
72 73 74
awstats_conf_dir=/etc/awstats
awstats_data_dir=/var/lib/awstats
awstats_pl=/usr/lib/cgi-bin/awstats.pl
tbrehm's avatar
tbrehm committed
75
awstats_buildstaticpages_pl=/usr/share/awstats/tools/awstats_buildstaticpages.pl
76 77
php_ini_path_apache=/etc/php5/apache2/php.ini
php_ini_path_cgi=/etc/php5/cgi/php.ini
78
check_apache_config=y
tbrehm's avatar
tbrehm committed
79
enable_sni=y
80
enable_ip_wildcard=y
81 82
overtraffic_notify_admin=y
overtraffic_notify_client=y
83 84 85 86 87
nginx_cgi_socket=/var/run/fcgiwrap.socket
php_fpm_init_script=php5-fpm
php_fpm_ini_path=/etc/php5/fpm/php.ini
php_fpm_pool_dir=/etc/php5/fpm/pool.d
php_fpm_start_port=9010
88
php_fpm_socket_dir=/var/lib/php5-fpm
89
set_folder_permissions_on_update=n
90 91 92
add_web_users_to_sshusers_group=y
connect_userid_to_webid=n
connect_userid_to_webid_start=10000
93
web_folder_protection=y
94
overquota_notify_admin=y
95 96 97
overquota_notify_client=y
overquota_notify_freq=7
overquota_notify_onok=n
98

99 100 101 102 103 104 105
[dns]
bind_user=root
bind_group=bind
bind_zonefiles_dir=/etc/bind
named_conf_path=/etc/bind/named.conf
named_conf_local_path=/etc/bind/named.conf.local

106
[fastcgi]
daniel's avatar
daniel committed
107 108 109 110 111 112
fastcgi_starter_path=/var/www/php-fcgi-scripts/[system_user]/
fastcgi_starter_script=.php-fcgi-starter
fastcgi_alias=/php/
fastcgi_phpini_path=/etc/php5/cgi/
fastcgi_children=8
fastcgi_max_requests=5000
113
fastcgi_bin=/usr/bin/php-cgi
114
fastcgi_config_syntax=1
115 116 117 118

[jailkit]
jailkit_chroot_home=/home/[username]
jailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh
tbrehm's avatar
tbrehm committed
119
jailkit_chroot_app_programs=/usr/bin/groups /usr/bin/id /usr/bin/dircolors /usr/bin/lesspipe /usr/bin/basename /usr/bin/dirname /usr/bin/nano /usr/bin/pico
120 121 122 123 124 125 126 127 128
jailkit_chroot_cron_programs=/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php

[vlogger]
config_dir=/etc

[cron]
init_script=cron
crontab_dir=/etc/cron.d
wget=/usr/bin/wget
vogelor's avatar
vogelor committed
129 130 131

[rescue]
try_rescue=n
132
do_not_try_rescue_httpd=n
vogelor's avatar
vogelor committed
133 134 135
do_not_try_rescue_mysql=n
do_not_try_rescue_mail=n