odyssey/odissey.conf

53 lines
679 B
Plaintext
Raw Normal View History

#
odissey {
daemonize on;
2016-11-07 12:59:29 +00:00
log_file "";
pid_file "";
pooling "session"; # transaction, statement
listen {
2016-11-07 12:59:29 +00:00
host "localhost";
port 1234;
tls_sslmode disable
tls_ca_file
tls_key_file
tls_cert_file
tls_protocols all;
tls_ciphers fast;
client_max 100;
workers 8;
}
server default {
2016-11-07 12:59:29 +00:00
host "localhost";
port 4322;
}
server "misc" {
2016-11-07 12:59:29 +00:00
host "localhost";
port 4321;
tls_sslmode disable
tls_ca_file
tls_key_file
tls_cert_file
tls_protocol all;
tls_ciphers fast;
}
routing {
2016-11-07 12:59:29 +00:00
mode "forward"; # round-robin
bardb {
2016-11-07 12:59:29 +00:00
redirect "misc";
client_max 100;
pool_size_min 0;
pool_size_max 100;
# force user, db, limits
}
}
}