Caddy serve

From bidewio/better-openclaw · View interactive version

Caddy serve is an AI agent skill from the GitHub repository bidewio/better-openclaw. Automatic HTTPS web server with Caddy

How to use this skill

Skill file

Caddy – Automatic HTTPS Web Server

Caddy is a powerful web server with automatic HTTPS via Let's Encrypt,

reverse proxying, and simple configuration.

Environment Variables

| Variable | Description |

|---|---|

| {{CADDY_ADMIN_URL}} | Caddy admin API URL (default: localhost:2019) |

Usage Examples

Get current config

curl -s "{{CADDY_ADMIN_URL}}/config/"

Add a reverse proxy

curl -s -X POST "{{CADDY_ADMIN_URL}}/config/apps/http/servers/srv0/routes" \
  -H "Content-Type: application/json" \
  -d '{"match": [{"host": ["app.example.com"]}], "handle": [{"handler": "reverse_proxy", "upstreams": [{"dial": "localhost:3000"}]}]}'

AI Agent Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.