diff --git a/contrib/production.conf b/contrib/production.conf index 45f65aa..a639ea4 100644 --- a/contrib/production.conf +++ b/contrib/production.conf @@ -9,7 +9,7 @@ # Alternatively, see site/index.html in the source code. # -listen "localhost" "8008"; +listen "8008"; server-name "example.com"; chroot "/var/telodendria"; id "_telodendria" "_telodendria"; @@ -22,4 +22,4 @@ log "./telodendria.log" { color "true"; }; threads "4"; - +max-connections "32"; diff --git a/site/index.html b/site/index.html index 461de2f..ba201b5 100644 --- a/site/index.html +++ b/site/index.html @@ -278,9 +278,10 @@ every source tarball, and in the CVS repository.
listen [hostname] [port]
+listen [port]
-The address to listen on. It is recommended to only listen on
+The port to listen on. Telodendria will bind to all interfaces, but
+It is recommended to configure your firewall so that it only listens on
localhost
, and then configure a reverse proxy such as
relayd(8)
in front of it, because Telodendria does
not implement TLS. Note that Telodendria doesn't provide multiple
@@ -288,11 +289,7 @@ ports for the various services it offers. All APIs are made available over
the same port.
-[hostname]
should be a host name, an IPv4 address, or
-an IPv6 address, if your operating system supports IPv6. [port]
-should be a decimal port number or a service name. Refer to your system's
-getaddrinfo()
manual page for acceptable values for both of
-these parameters.
+[port]
should be a decimal port number or a service name.
The listen
directive is entirely optional; if it is omitted,