odyssey/odissey.conf

57 lines
781 B
Plaintext
Raw Normal View History

2016-11-07 13:25:12 +00:00
# odissey config file.
#
odissey {
2017-01-27 12:35:41 +00:00
log_verbosity 5
2016-11-28 13:41:47 +00:00
# log_file "./odissey.log"
# pid_file "./odissey.pid"
# syslog no
# syslog_facility "daemon"
# syslog_ident "odissey"
# daemonize no
pooling "transaction"
listen {
2016-12-14 13:45:38 +00:00
host "localhost"
port 6432
2016-11-30 13:34:41 +00:00
nodelay yes
# backlog 16
2016-11-28 13:25:05 +00:00
# keepalive 7200
client_max 100
workers 8
}
2016-11-07 14:19:12 +00:00
server "default" {
2016-12-13 15:26:37 +00:00
host "127.0.0.1"
2016-11-11 11:52:23 +00:00
port 5432
}
routing {
2016-11-30 13:34:41 +00:00
mode "forward"
"test" {
server "default"
ttl 5
2017-02-16 10:04:03 +00:00
discard yes
rollback yes
# client_max 100
}
# default {
# server "default"
# user "user"
2017-01-27 12:35:41 +00:00
# password "test"
# database "database"
# client_max 100
2016-11-15 12:07:58 +00:00
# ttl 120
# }
}
users {
default {
2017-01-30 12:44:27 +00:00
# none, clear_text, md5
2017-01-27 12:35:41 +00:00
authentication "none"
#password "test"
}
}
}