mirror of https://github.com/yandex/odyssey.git
53 lines
679 B
Plaintext
53 lines
679 B
Plaintext
#
|
|
|
|
odissey {
|
|
daemonize on;
|
|
|
|
log_file "";
|
|
pid_file "";
|
|
pooling "session"; # transaction, statement
|
|
|
|
listen {
|
|
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 {
|
|
host "localhost";
|
|
port 4322;
|
|
}
|
|
|
|
server "misc" {
|
|
host "localhost";
|
|
port 4321;
|
|
tls_sslmode disable
|
|
tls_ca_file
|
|
tls_key_file
|
|
tls_cert_file
|
|
tls_protocol all;
|
|
tls_ciphers fast;
|
|
}
|
|
|
|
routing {
|
|
mode "forward"; # round-robin
|
|
|
|
bardb {
|
|
redirect "misc";
|
|
client_max 100;
|
|
pool_size_min 0;
|
|
pool_size_max 100;
|
|
# force user, db, limits
|
|
}
|
|
}
|
|
}
|