Download Caddyfile from ResearchEngineering/AGI_Assistant: direct link, hf CLI and curl.
- Browser
- Download file 2.6 kB
-
https://huggingface.co/spaces/ResearchEngineering/AGI_Assistant/resolve/main/Caddyfile
- Command line
-
hf download hf://spaces/ResearchEngineering/AGI_Assistant/Caddyfile
-
curl -L -o Caddyfile https://huggingface.co/spaces/ResearchEngineering/AGI_Assistant/resolve/main/Caddyfile
2.6 kB
| :7860 | |
| # OpenClaw UI mounted at /openclaw (preserve prefix). | |
| handle /openclaw* { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| # NanoClaw UI mounted at /nanoclaw (preserve prefix). | |
| handle /nanoclaw* { | |
| reverse_proxy 127.0.0.1:{$NANOCLAW_PORT} | |
| } | |
| handle /nanobot* { | |
| reverse_proxy 127.0.0.1:{$NANOBOT_PORT} | |
| } | |
| handle /picoclaw* { | |
| reverse_proxy 127.0.0.1:{$PICOCLAW_PORT} | |
| } | |
| handle /zeroclaw* { | |
| reverse_proxy 127.0.0.1:{$ZEROCLAW_PORT} | |
| } | |
| handle /nullclaw* { | |
| reverse_proxy 127.0.0.1:{$NULLCLAW_PORT} | |
| } | |
| handle /hermes-agent* { | |
| reverse_proxy 127.0.0.1:{$HERMES_AGENT_PORT} | |
| } | |
| handle /agent-os* { | |
| reverse_proxy 127.0.0.1:{$AGENT_OS_PORT} | |
| } | |
| handle /odysseus* { | |
| reverse_proxy 127.0.0.1:{$ODYSSEUS_PORT} | |
| } | |
| # Colibri serves the OpenAI API at the root (/v1/..., /health) and has no | |
| # base-path option, so unlike the Claw services above the prefix must be | |
| # stripped: /colibri/v1/chat/completions -> /v1/chat/completions. | |
| handle_path /colibri/* { | |
| reverse_proxy 127.0.0.1:{$COLIBRI_PORT} | |
| } | |
| # OpenClaw UI uses absolute runtime paths; proxy them too. | |
| handle /ws* { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle /__openclaw__/* { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle /ask { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle /gateway* { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle /events* { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle /socket* { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle /health { | |
| reverse_proxy 127.0.0.1:18789 { | |
| header_up Authorization "Bearer {$OPENCLAW_GATEWAY_TOKEN}" | |
| header_up X-OpenClaw-Token "{$OPENCLAW_GATEWAY_TOKEN}" | |
| } | |
| } | |
| handle { | |
| reverse_proxy 127.0.0.1:8501 | |
| } | |