# Caddy obtains and renews the Let's Encrypt certificate and redirects HTTP to HTTPS automatically.
git.yebilly.me {
	reverse_proxy gitea:3000
}

colors.yebilly.me {
	reverse_proxy color-buttons-app:3000
}

# Jenkins: Stevens network (155.246.0.0/16, campus or Stevens VPN) plus team IPs
# from CI_TEAM_IPS in the untracked .env. Everyone else gets 403 before login.
ci.yebilly.me {
	@denied not remote_ip 155.246.0.0/16 {$CI_TEAM_IPS}
	respond @denied 403
	reverse_proxy jenkins:8080
}
