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.
- Type
TOML value- Default
{ }- Example
{ general = { directory-listing = true; log-level = "error"; }; }- Declared
- <nixpkgs/nixos/modules/services/web-servers/static-web-server.nix>