mirror of https://github.com/yandex/odyssey.git
48 lines
646 B
Plaintext
48 lines
646 B
Plaintext
|
|
# odissey config file.
|
|
#
|
|
#
|
|
|
|
odissey {
|
|
daemonize no
|
|
# log_file "./odissey.log"
|
|
# pid_file ""
|
|
|
|
pooling "session" # transaction, statement
|
|
|
|
listen {
|
|
host "127.0.0.1"
|
|
port 6432
|
|
# 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 "127.0.0.1"
|
|
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
|
|
"*" {
|
|
route "default"
|
|
pool_min 0
|
|
pool_max 100
|
|
client_max 100
|
|
# force user, db, limits
|
|
}
|
|
}
|
|
}
|