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.
 
 
 
 

69 lines
1.4 KiB

{
secret => 'change-me',
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',
},
db => {
type => 'sqlite3',
host => undef,
name => undef,
user => undef,
pass => undef,
file => 'data/linuxdv.db',
},
ldap => {
server => '127.0.0.1',
binddn => undef,
bindpass => undef,
userbase => undef,
defclasses => ['inetOrgPerson'],
defattrs => [
'displayName', 'mail', 'cn', 'sn', 'o',
'givenName', 'userPassword', 'uid',
],
},
filebin => {
access => 'all',
expire => 'year',
file_maxsize => 128 * 1024 * 1024,
image_maxmem => 384 * 1024 * 1024,
image_maxres => '8192x8192',
thumbs_ext => 'jpg',
thumbs_size => '200x200',
show_latest => 1,
},
zerobin => {
access => 'all',
syntax => [
text => ['plaintext', 'markdown'],
lang => ['bash', 'c', 'c++', 'perl', 'php', 'python'],
markup => ['css', 'html', 'diff']
],
maxsize => 1 * 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,
}
}