forked from lda/telodendria
Apply #30
This commit is contained in:
parent
315589cd1b
commit
b632411b61
2 changed files with 6 additions and 9 deletions
|
@ -9,7 +9,7 @@
|
||||||
# Alternatively, see site/index.html in the source code.
|
# Alternatively, see site/index.html in the source code.
|
||||||
#
|
#
|
||||||
|
|
||||||
listen "localhost" "8008";
|
listen "8008";
|
||||||
server-name "example.com";
|
server-name "example.com";
|
||||||
chroot "/var/telodendria";
|
chroot "/var/telodendria";
|
||||||
id "_telodendria" "_telodendria";
|
id "_telodendria" "_telodendria";
|
||||||
|
@ -22,4 +22,4 @@ log "./telodendria.log" {
|
||||||
color "true";
|
color "true";
|
||||||
};
|
};
|
||||||
threads "4";
|
threads "4";
|
||||||
|
max-connections "32";
|
||||||
|
|
|
@ -278,9 +278,10 @@ every source tarball, and in the CVS repository.
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<code><b>listen</b> [hostname] [port]</code>
|
<code><b>listen</b> [port]</code>
|
||||||
<p>
|
<p>
|
||||||
The address to listen on. It is recommended to only listen on
|
The port to listen on. <b>Telodendria</b> will bind to all interfaces, but
|
||||||
|
It is recommended to configure your firewall so that it only listens on
|
||||||
<code>localhost</code>, and then configure a reverse proxy such as
|
<code>localhost</code>, and then configure a reverse proxy such as
|
||||||
<code>relayd(8)</code> in front of it, because <b>Telodendria</b> does
|
<code>relayd(8)</code> in front of it, because <b>Telodendria</b> does
|
||||||
not implement TLS. Note that <b>Telodendria</b> doesn't provide multiple
|
not implement TLS. Note that <b>Telodendria</b> doesn't provide multiple
|
||||||
|
@ -288,11 +289,7 @@ ports for the various services it offers. All APIs are made available over
|
||||||
the same port.
|
the same port.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<code>[hostname]</code> should be a host name, an IPv4 address, or
|
<code>[port]</code> should be a decimal port number or a service name.
|
||||||
an IPv6 address, if your operating system supports IPv6. <code>[port]</code>
|
|
||||||
should be a decimal port number or a service name. Refer to your system's
|
|
||||||
<code>getaddrinfo()</code> manual page for acceptable values for both of
|
|
||||||
these parameters.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The <code>listen</code> directive is entirely optional; if it is omitted,
|
The <code>listen</code> directive is entirely optional; if it is omitted,
|
||||||
|
|
Loading…
Reference in a new issue