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

6

7
[server]
8
auto_network_configuration=n
9 10 11
ip_address=192.168.0.105
netmask=255.255.255.0
gateway=192.168.0.1
redray's avatar
redray committed
12 13
hostname=server1.domain.tld
nameservers=192.168.0.1,192.168.0.2
14
loglevel=2
15
backup_dir=/var/backup
16
backup_dir_ftpread=y
17 18 19

[mail]
module=postfix_mysql
20 21
maildir_path=/var/vmail/[domain]/[localpart]
homedir_path=/var/vmail
22 23
pop3_imap_daemon=courier
mail_filter_syntax=maildrop
24 25 26 27 28 29 30 31 32 33 34 35 36 37
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

[getmail]
getmail_config_dir=/etc/getmail

[web]
38
website_basedir=/var/www
39 40
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]/
41
vhost_conf_dir=/etc/apache2/sites-available
daniel's avatar
daniel committed
42
vhost_conf_enabled_dir=/etc/apache2/sites-enabled
tbrehm's avatar
tbrehm committed
43 44 45
security_level=10
user=www-data
group=www-data
46 47 48
apps_vhost_port=8081
apps_vhost_ip=_default_
apps_vhost_servername=
tbrehm's avatar
tbrehm committed
49
php_open_basedir=[website_path]/web:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
50
htaccess_allow_override=All
51 52 53
awstats_conf_dir=/etc/awstats
awstats_data_dir=/var/lib/awstats
awstats_pl=/usr/lib/cgi-bin/awstats.pl
tbrehm's avatar
tbrehm committed
54
awstats_buildstaticpages_pl=/usr/share/awstats/tools/awstats_buildstaticpages.pl
55 56
php_ini_path_apache=/etc/php5/apache2/php.ini
php_ini_path_cgi=/etc/php5/cgi/php.ini
57
check_apache_config=y
58

59 60 61 62 63 64 65
[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

66
[fastcgi]
daniel's avatar
daniel committed
67 68 69 70 71 72
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
73
fastcgi_bin=/usr/bin/php-cgi
74
fastcgi_config_syntax=1
75 76 77 78

[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
79
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
80 81 82 83 84 85 86 87 88
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
89 90 91 92 93 94 95

[rescue]
try_rescue=n
do_not_try_rescue_apache=n
do_not_try_rescue_mysql=n
do_not_try_rescue_mail=n