mirror of https://github.com/yandex/odyssey.git
odyssey: document listen section
This commit is contained in:
parent
3f0b91d7de
commit
4655bd6ca4
36
odyssey.conf
36
odyssey.conf
|
@ -91,7 +91,7 @@ log_syslog_facility "daemon"
|
||||||
# Verbose logging.
|
# Verbose logging.
|
||||||
#
|
#
|
||||||
# Enable verbose logging of all events, which will generate a log of
|
# Enable verbose logging of all events, which will generate a log of
|
||||||
# information detailed useful for development or testing.
|
# detailed information useful for development or testing.
|
||||||
#
|
#
|
||||||
# It is also possible to enable verbose logging for specific users
|
# It is also possible to enable verbose logging for specific users
|
||||||
# (see routes section).
|
# (see routes section).
|
||||||
|
@ -235,22 +235,54 @@ keepalive 7200
|
||||||
#
|
#
|
||||||
# Global limit of client connections.
|
# Global limit of client connections.
|
||||||
#
|
#
|
||||||
# Comment 'client_max' to disable the limit.
|
# Comment 'client_max' to disable the limit. On client limit reach, Odyssey will
|
||||||
|
# reply with 'too many connections'.
|
||||||
#
|
#
|
||||||
client_max 100
|
client_max 100
|
||||||
|
|
||||||
|
###
|
||||||
|
### LISTEN
|
||||||
|
###
|
||||||
|
|
||||||
|
#
|
||||||
|
# Listen section defines listening servers used for accepting
|
||||||
|
# incoming client connections.
|
||||||
|
#
|
||||||
|
# It is possible to define several Listen sections. Odyssey will listen on
|
||||||
|
# every specified server.
|
||||||
|
#
|
||||||
|
# Odyssey will fail in case it could not bind on any resolved address.
|
||||||
|
#
|
||||||
listen {
|
listen {
|
||||||
|
# Bind address.
|
||||||
host "*"
|
host "*"
|
||||||
|
|
||||||
|
# Listen port.
|
||||||
port 6432
|
port 6432
|
||||||
|
|
||||||
|
# TCP listen backlog.
|
||||||
backlog 128
|
backlog 128
|
||||||
|
|
||||||
|
# Enable TLS support.
|
||||||
# tls "disable"
|
# tls "disable"
|
||||||
|
|
||||||
|
# TLS certificate file.
|
||||||
# tls_cert_file ""
|
# tls_cert_file ""
|
||||||
|
|
||||||
|
# TLS key file.
|
||||||
# tls_key_file ""
|
# tls_key_file ""
|
||||||
|
|
||||||
|
# TLS CA file.
|
||||||
# tls_ca_file ""
|
# tls_ca_file ""
|
||||||
|
|
||||||
|
# TLS protocols to accept.
|
||||||
# tls_protocols ""
|
# tls_protocols ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
###
|
||||||
|
### ROUTING
|
||||||
|
###
|
||||||
|
|
||||||
storage "local" {
|
storage "local" {
|
||||||
type "local"
|
type "local"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue