odyssey/odissey.conf

69 lines
1022 B
Plaintext
Raw Normal View History

2016-11-07 13:25:12 +00:00
# odissey config file.
#
odissey {
log_debug yes
2017-06-01 09:45:49 +00:00
log_config yes
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
stats_period 1
pooling "session"
listen {
2017-04-05 11:48:26 +00:00
host "*"
port 6432
2016-11-30 13:34:41 +00:00
nodelay yes
# backlog 16
2016-11-28 13:25:05 +00:00
# keepalive 7200
tls_mode "disable"
# tls_cert_file ""
2017-04-05 11:48:26 +00:00
# tls_key_file ""
# tls_ca_file ""
# tls_protocols ""
workers 8
client_max 100
}
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
tls_mode "disable"
# tls_ca_file ""
# tls_key_file ""
# tls_cert_file ""
# tls_protocols ""
}
routing {
2016-11-30 13:34:41 +00:00
mode "forward"
"test" {
server "default"
ttl 5
2017-02-16 10:21:16 +00:00
cancel yes
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"
}
}
}