mirror of https://github.com/yandex/odyssey.git
53 lines
865 B
Plaintext
53 lines
865 B
Plaintext
![]() |
#
|
||
|
|
||
|
odissey {
|
||
|
daemonize on;
|
||
|
|
||
|
log_file = "";
|
||
|
pid_file = "";
|
||
|
pooling = "session"; # transaction, statement
|
||
|
|
||
|
listen {
|
||
|
host = "localhost";
|
||
|
port = 1234;
|
||
|
|
||
|
tls_sslmode = disable
|
||
|
tls_ca_file = <system default>
|
||
|
tls_key_file =
|
||
|
tls_cert_file =
|
||
|
tls_protocols = all;
|
||
|
tls_ciphers = fast;
|
||
|
|
||
|
connection_max = 100;
|
||
|
threads = 8;
|
||
|
}
|
||
|
|
||
|
server default {
|
||
|
host = "localhost";
|
||
|
port = 4322;
|
||
|
}
|
||
|
|
||
|
server "misc" {
|
||
|
host = "localhost";
|
||
|
port = 4321;
|
||
|
tls_sslmode = disable
|
||
|
tls_ca_file = <system default>
|
||
|
tls_key_file =
|
||
|
tls_cert_file =
|
||
|
tls_protocols = 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
|
||
|
}
|
||
|
}
|
||
|
}
|