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

55 lines
923 B
YAML
Raw Normal View History

2023-08-19 03:55:21 +00:00
threads: 64
2023-07-03 20:00:37 +00:00
port: 31975
bind: "0.0.0.0"
sites: "./local/sites"
routes: "./local/routes.yaml"
not_found: "./local/404.html"
try_files:
- "index.html"
- "index.htm"
- "index.xhtml"
- "index"
- ".html"
- ".htm"
- ".xhtml"
try_templates:
2023-08-20 18:21:02 +00:00
- ".tpl"
2023-08-19 00:36:42 +00:00
- ".html.tpl"
- ".htm.tpl"
- ".xhtml.tpl"
2023-08-20 18:21:02 +00:00
- "index.tpl"
- "index.html.tpl"
- "index.htm.tpl"
- "index.xhtml.tpl"
2023-07-03 20:00:37 +00:00
try_data:
- ".json"
- ".yaml"
- ".yml"
2023-08-20 18:21:02 +00:00
- ".html.json"
- ".html.yaml"
- ".html.yml"
- ".htm.json"
- ".htm.yaml"
- ".htm.yml"
- ".xhtml.json"
- ".xhtml.yaml"
- ".xhtml.yml"
2023-08-13 17:49:21 +00:00
- "index.json"
- "index.yaml"
- "index.yml"
2023-08-20 04:33:48 +00:00
- "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"
2023-07-03 20:00:37 +00:00
datum_extension_parser:
json: json
yaml: yaml
yml: yaml
2023-08-09 13:03:07 +00:00
is_on_dev: true
2023-08-19 01:20:53 +00:00
log_accesses: true