diff options
Diffstat (limited to 'config.toml.sample')
-rw-r--r-- | config.toml.sample | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.toml.sample b/config.toml.sample index 3552ae3..ca6313f 100644 --- a/config.toml.sample +++ b/config.toml.sample @@ -21,6 +21,10 @@ cert_key_dir = "certs" # avoid putting final '/' # because generating cert/key pairs will fail and cause the program to die. # Setting the following to 'false' will not emit an error. cert_key_dir_write_warning = true +# For each accepted connection a fork() is called. This toggles if that should happen or not. +# For debugging or memory reasons, it may help to set this to false, though it may result in clients timing out if your server is busy serving a client. +# Will cause 'timed-out' and 'sysread failed' to appear at the same time in log files. +fork = true ## These are not specific to default and can be used with vhost ## Vhost options will override default options @@ -43,6 +47,8 @@ default_mime = 'text/plain' # A Vhost is *required* since it both serves as vhost and server name identification (sni) # Vhost example - probably you want to see that it actually works right away +# `$ ncat --ssl localhost 1965'. Quick! You have 5 seconds! type: 'gemini://localhost ' (don't forget the whitespace as required by gemini spec) +# (ncat (probably) packaged with nmap) ['localhost'] # Generate certificate and key automatically? Uses cert_key_dir auto_cert = true |