# Caddy Reverse Proxy Caddy container that terminates HTTPS (Let's Encrypt) and routes traffic to PaperClip. ## How it works - `docker-compose.yml` mounts `/mnt/Jannik-Cloud-Volume-01/caddy/` into the container: - `Caddyfile` — main config, imports all `*.caddy` fragments from `fragments/` - `fragments/` — per-service reverse-proxy definitions, assembled by `deploy_script.sh` - `data/`, `config/` — Caddy cert + state storage - Only ports 80 and 443 are exposed to the host - PaperClip itself binds only on the internal `paperclip-net` Docker network ## Adding new subdomains Drop a `.caddy` file into `services//` with: ```caddyfile subdomain.orfel.de { reverse_proxy : } ``` The deploy script picks it up automatically.