Spaces:
Paused
Paused
Download Caddyfile from data-llm-hub/tensorwall: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/spaces/data-llm-hub/tensorwall/resolve/main/Caddyfile
- Command line
-
hf download hf://spaces/data-llm-hub/tensorwall/Caddyfile
-
curl -L -o Caddyfile https://huggingface.co/spaces/data-llm-hub/tensorwall/resolve/main/Caddyfile
603 Bytes
| :7860 { | |
| # Logs | |
| log { | |
| output stdout | |
| format console | |
| } | |
| # API Backend - strip /api prefix | |
| handle_path /api/* { | |
| reverse_proxy localhost:8000 | |
| } | |
| # Direct backend routes (health, docs, openapi) | |
| handle /health/* { | |
| reverse_proxy localhost:8000 | |
| } | |
| handle /v1/* { | |
| reverse_proxy localhost:8000 | |
| } | |
| handle /docs { | |
| reverse_proxy localhost:8000 | |
| } | |
| handle /openapi.json { | |
| reverse_proxy localhost:8000 | |
| } | |
| # Frontend Next.js (everything else) | |
| handle { | |
| reverse_proxy localhost:3000 | |
| } | |
| } | |