odyssey: document listen section
@@ -91,7 +91,7 @@ log_syslog_facility "daemon"
# Verbose logging.
#
# 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
# (see routes section).
@@ -235,22 +235,54 @@ keepalive 7200
#
# 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
+###
+### 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 {
+# Bind address.
host "*"
+
+# Listen port.
port 6432
+
+# TCP listen backlog.
backlog 128
+
+# Enable TLS support.
# tls "disable"
+
+# TLS certificate file.
# tls_cert_file ""
+
+# TLS key file.
# tls_key_file ""
+
+# TLS CA file.
# tls_ca_file ""
+
+# TLS protocols to accept.
# tls_protocols ""
}
+###
+### ROUTING
+###
+
storage "local" {
type "local"
}
