Spaces:
Paused
Paused
Download Caddyfile from Yash030/agentmemory: direct link, hf CLI and curl.
- Browser
- Download file 811 Bytes
-
https://huggingface.co/spaces/Yash030/agentmemory/resolve/main/Caddyfile
- Command line
-
hf download hf://spaces/Yash030/agentmemory/Caddyfile
-
curl -L -o Caddyfile https://huggingface.co/spaces/Yash030/agentmemory/resolve/main/Caddyfile
811 Bytes
| :7860 { | |
| # Route WebSocket streams (iii-stream on 3112) | |
| # Keep full path — iii-stream expects /stream/mem-live/viewer | |
| handle /stream/* { | |
| reverse_proxy localhost:3112 { | |
| header_up Host localhost:3112 | |
| header_up Authorization "Bearer {env.AGENTMEMORY_SECRET}" | |
| } | |
| } | |
| # Route REST API endpoints (iii-http on 3111) | |
| # Caddy injects the secret so the dashboard viewer works without exposing it to the browser | |
| handle /agentmemory/* { | |
| reverse_proxy localhost:3111 { | |
| header_up Host localhost:3111 | |
| header_up Authorization "Bearer {env.AGENTMEMORY_SECRET}" | |
| } | |
| } | |
| # Route Viewer dashboard (on 3113) | |
| handle { | |
| reverse_proxy localhost:3113 { | |
| header_up Host localhost:3113 | |
| } | |
| } | |
| } | |