MyNixOS website logo
option

services.static-web-server.configuration

Configuration for Static Web Server. See https://static-web-server.net/configuration/config-file/. NOTE: Don't set "host", "port", or "root" here. They will be ignored. Use the top-level "listen" and "root" options instead.

Declarations
Type
TOML value
Default
{ }
Example
{
  general = {
    directory-listing = true;
    log-level = "error";
  };
}