You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.0 KiB

10 years ago
{
secret => undef,
user => {
allow_list => 0,
allow_chpass => 1,
allow_register => 0,
confirm_chpass => 0,
confirm_register => 0,
},
10 years ago
email => {
from => 'noreply@example.com',
reply => 'admin@example.com',
},
ldap => {
server => '127.0.0.1',
binddn => undef,
bindpass => undef,
userbase => undef,
defclasses => ['inetOrgPerson'],
defattrs => [
'displayName', 'mail', 'cn', 'sn', 'o',
'givenName', 'userPassword', 'uid',
],
},
10 years ago
imgbin => {
root => 'data/imgbin',
expire => 'year',
maxres => '8192x8192',
maxsize => 32 * 1024 * 1024,
thumbs_ext => 'jpg',
thumbs_size => '250x250',
css_maxwidth => 1024,
},
zerobin => {
root => 'data/zerobin',
syntax => ['bash', 'c', 'css', 'html', 'perl', 'php', 'python'],
},
10 years ago
hypnotoad => {
accepts => 100,
listen => [ 'http://127.0.0.1:3000' ],
heartbeat_interval => 5,
heartbeat_timeout => 20,
upgrade_timeout => 60,
proxy => 1,
workers => 2,
}
}