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.
 
 
 
 

56 lines
1.1 KiB

{
secret => undef,
user => {
allow_list => 0,
allow_chpass => 1,
allow_register => 0,
confirm_chpass => 0,
confirm_register => 0,
},
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',
],
},
imgbin => {
root => 'data/imgbin',
expire => 'year',
maxres => '8192x8192',
maxmem => 96 * 1024 * 1024,
maxsize => 32 * 1024 * 1024,
thumbs_ext => 'jpg',
thumbs_size => '250x250',
show_latest => 1,
css_maxwidth => 1024,
},
zerobin => {
root => 'data/zerobin',
syntax => ['bash', 'c', 'css', 'html', 'perl', 'php', 'python', 'other'],
maxsize => 10 * 1024 * 1024,
},
hypnotoad => {
accepts => 100,
listen => [ 'http://127.0.0.1:3000' ],
heartbeat_interval => 5,
heartbeat_timeout => 20,
upgrade_timeout => 60,
proxy => 1,
workers => 2,
}
}