docs.pyserve.org/config.docs.yaml
2025-12-05 13:21:33 +03:00

32 lines
544 B
YAML

# PyServe configuration for serving documentation
# Usage: pyserve -c config.docs.yaml
http:
static_dir: .
server:
host: 0.0.0.0
port: 80
backlog: 1000
default_root: false
ssl:
enabled: false
logging:
level: INFO
console_output: true
extensions:
- type: routing
config:
regex_locations:
"~*\\.(css)$":
root: "./docs"
cache_control: "public, max-age=3600"
"__default__":
root: "./docs"
index_file: "index.html"
cache_control: "no-cache"