Files
caddy/SKILL.md
2026-02-02 22:11:35 +01:00

55 lines
1.0 KiB
Markdown

---
name: caddy
description: Caddy web server with automatic HTTPS
metadata:
version: "1.0.0"
vibestack:
main: false
---
# Caddy Skill
Installs and configures [Caddy](https://caddyserver.com/) web server with automatic HTTPS.
## Features
- Automatic HTTPS with Let's Encrypt
- Reverse proxy support
- Static file serving
- Zero-downtime reloads
## Configuration
Create a `Caddyfile` in your skill's directory or set `CADDYFILE_PATH` environment variable.
### Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| `CADDYFILE_PATH` | Path to Caddyfile | `/skills/caddy/Caddyfile` |
| `CADDY_DATA_DIR` | Caddy data directory | `/data/caddy` |
## Example Caddyfile
```caddyfile
:80 {
respond "Hello from Caddy!"
}
# Reverse proxy example
# api.example.com {
# reverse_proxy localhost:8080
# }
```
## Usage
This skill is typically used as a dependency by other skills that need a web server:
```yaml
metadata:
vibestack:
requires:
- caddy
```