Files
pic/config/caddy/Caddyfile
T
roof e7decf6f06 fix: port check, add missing service domains to Caddy and DNS zone
wg show outputs "listening port" not "listen port" — substring mismatch
caused port status to always show Blocked. Add webdav.cell, webmail.cell,
api.cell to Caddyfile and cell.zone so VPN peers can reach all services.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 14:50:29 -04:00

54 lines
898 B
Caddyfile

{
auto_https off
}
# Main cell domain
http://mycell.cell {
handle /api/* {
reverse_proxy cell-api:3000
}
handle /calendar* {
reverse_proxy cell-radicale:5232
}
handle /files* {
reverse_proxy cell-filegator:8080
}
handle /webmail* {
reverse_proxy cell-rainloop:8888
}
handle {
reverse_proxy cell-webui:80
}
}
# Service aliases
http://calendar.cell {
reverse_proxy cell-radicale:5232
}
http://files.cell {
reverse_proxy cell-filegator:8080
}
http://mail.cell, http://webmail.cell {
reverse_proxy cell-rainloop:8888
}
http://webdav.cell {
reverse_proxy cell-webdav:80
}
http://api.cell {
reverse_proxy cell-api:3000
}
# Catch-all for direct IP and localhost access
:80 {
handle /api/* {
reverse_proxy cell-api:3000
}
handle {
reverse_proxy cell-webui:80
}
}