themis / phase1 /deploy /Caddyfile
vg15o2's picture
Moonley backend (HF Space build)
1d9bd9b
Raw
History Blame Contribute Delete
353 Bytes
themis.apexflo.ai {
# Auto Let's Encrypt TLS for the subdomain (needs the DNS A record + ports 80/443 open).
# uvicorn listens only on 127.0.0.1:8000; Caddy is the public edge.
reverse_proxy 127.0.0.1:8000 {
flush_interval -1 # stream SSE (search_stream / deep_search_stream) without buffering
}
encode gzip
request_body {
max_size 5MB
}
}