Server

When a web server is started using the --config option of the server command these options are available at the top-level of the TOML file.

The redirect-secure option only applies when a SSL server is configured.

SSL

To configure an SSL server use the [[ssl]] table:

The SSL certificate should include Subject Alternative Names for each virtual host name or use a wildcard for subdomains, eg: *.example.com.

Hosts

Virtual hosts defined in a [[host]] table support these fields:

If directory is a relative path it is resolved using the parent folder of the configuration file.