Author: Guy Nankivell <email@example.com>
Date: Thu, 26 Apr 2018 21:12:31 +1200
Adds specifics of the `kore.conf` to `kodev(1)`
|share/man/kodev.1|| | ||88||++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---|
1 file changed, 85 insertions(+), 3 deletions(-)
diff --git a/share/man/kodev.1 b/share/man/kodev.1
@@ -98,9 +98,91 @@ the flavours or per flavour configurations.
When a \fBcreate [app]\fR is called, kodev will also create an \fBapp.conf\fR
where 'app' is the name of the project. This configuration describes to Kore
what modules to load, how validators work, what page handlers to map and which
-functions and more. Technical documentation regarding the specifics of this
-may be found in
+functions and more. The specifics of which are discussed below;
+Maximum length to queue pending connections. See \fBlisten(\fR2\fB)\fR
+Bind to a given IP address and port number.
+The path to which the worker processes will \fBchroot()\fR into.
+The username the worker process inherit privileges from.
+The number of worker processes to spawn and keep alive. Default is 1.
+The number of active connections each worker will accept. Default is 250.
+Limit of maximum open files per worker.
+Limit the number of new connections a worker can accept in a single event loop.
+Per default, \fBkore\fR will accept as many new connections it can until the
+\fBworker_max_connections\fR. Default is 'disabled'.
+Workers bind themselves to a single CPU by default. To disable this behaviour,
+set this option to 0.
+Store the pid of the parent process in the file passed to this. Default is
+Maximum size of HTTP headers (argument in bytes). Default is 4096.
+Maximum size of an HTTP body (argument in bytes). Default is 1024000.
+Note that if it is set to 0, this disallows requests with a body all together.
+Number of bytes after which \fBkore\fR will use a temporary file to hold the
+HTTP body, instead of holding it in memory. If this is set to 0, no disk
+offloading will be done. This is turned off by default; 'disabled'.
+Path where \fBkore\fR will store any temporary HTTP body files. The default
+Maximum number of seconds and HTTP connection may be kept open by a browser.
+The default is 20 seconds, set to 0 to turn off keep-alive entirely.
+If not 0, this is the age of the HSTS header that is included in all responses.
+The default is 31536000 seconds.
+The number of HTTP requests \fBkore\fR workers will process in one loop.
+The default is 'disabled'.
+The number of seconds a websocket connection is kept open without traffic.
+The default here is 120 seconds.
+The number of OS threads to use for background tasks. The default here is
+The TLS versions allowed, by default this is set to \fIonly\fR TLSv1.2.
+The server TLS ciphersuites that are permitted. The default is a very
+sane set of ciphersuites preferring AEAD ciphers and ephemeral key exchanges
+over static RSA.
+The DH parameters to load (\fBrequired\fR). The default is dh2048.pem
Changing flavour of the build;