odyssey/odissey.conf

58 lines
880 B
Plaintext
Raw Normal View History

2016-11-07 13:25:12 +00:00
# odissey config file.
#
odissey {
2016-11-28 13:41:47 +00:00
# daemonize no
# log_file "./odissey.log"
# pid_file "./odissey.pid"
# syslog no
# syslog_facility "daemon"
# syslog_ident "odissey"
pooling "session" # transaction, statement
listen {
host "127.0.0.1"
port 6432
# backlog 16
2016-11-28 13:25:05 +00:00
# nodelay yes
# keepalive 7200
# 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 14:19:12 +00:00
server "default" {
host "127.0.0.1"
2016-11-11 11:52:23 +00:00
port 5432
# tls_sslmode disable
# tls_ca_file
# tls_key_file
# tls_cert_file
# tls_protocol all
# tls_ciphers fast
}
routing {
mode "forward" # round-robin
"test" {
2016-11-07 14:19:12 +00:00
route "default"
ttl 10
}
# default {
# route "default"
# user "user"
# database "database"
# pool_min 0
# pool_max 100
# client_max 100
2016-11-15 12:07:58 +00:00
# ttl 120
# }
}
}