2016-11-07 12:06:49 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
odissey {
|
2016-11-07 13:04:41 +00:00
|
|
|
daemonize on
|
|
|
|
log_file ""
|
|
|
|
pid_file ""
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2016-11-07 13:04:41 +00:00
|
|
|
pooling "session" # transaction, statement
|
2016-11-07 12:06:49 +00:00
|
|
|
|
|
|
|
listen {
|
2016-11-07 13:04:41 +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
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
server default {
|
2016-11-07 13:04:41 +00:00
|
|
|
host "localhost"
|
|
|
|
port 4322
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
server "misc" {
|
2016-11-07 13:04:41 +00:00
|
|
|
host "localhost"
|
|
|
|
port 4321
|
|
|
|
# tls_sslmode disable
|
|
|
|
# tls_ca_file
|
|
|
|
# tls_key_file
|
|
|
|
# tls_cert_file
|
|
|
|
# tls_protocol all
|
|
|
|
# tls_ciphers fast
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
routing {
|
2016-11-07 13:04:41 +00:00
|
|
|
mode "forward" # round-robin
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2016-11-07 13:04:41 +00:00
|
|
|
"bardb" {
|
|
|
|
pool_min 0
|
|
|
|
pool_max 100
|
|
|
|
client_max 100
|
2016-11-07 12:06:49 +00:00
|
|
|
# force user, db, limits
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|