static-site-server-rs/default-config.yaml

57 lines
1.0 KiB
YAML

threads: 32
port: 31975
bind: "0.0.0.0"
sites: "/var/lib/static-site-server-rs/sites"
routes: "/var/lib/static-site-server-rs/routes.yaml"
not_found: "/var/lib/static-site-server-rs/404.html"
try_files:
- "index.html"
- "index.htm"
- "index.xhtml"
- "index"
- ".html"
- ".htm"
- ".xhtml"
try_templates:
- ".tpl"
- ".html.tpl"
- ".htm.tpl"
- ".xhtml.tpl"
- "index.tpl"
- "index.html.tpl"
- "index.htm.tpl"
- "index.xhtml.tpl"
try_data:
- ".json"
- ".yaml"
- ".yml"
- ".html.json"
- ".html.yaml"
- ".html.yml"
- ".htm.json"
- ".htm.yaml"
- ".htm.yml"
- ".xhtml.json"
- ".xhtml.yaml"
- ".xhtml.yml"
- "index.json"
- "index.yaml"
- "index.yml"
- "index.html.json"
- "index.html.yaml"
- "index.html.yml"
- "index.htm.json"
- "index.htm.yaml"
- "index.htm.yml"
- "index.xhtml.json"
- "index.xhtml.yaml"
- "index.xhtml.yml"
datum_extension_parser:
json: json
yaml: yaml
yml: yaml
log_accesses: false
log_redirects: false
log_not_founds: true
log_server_errors: true