lotr-sut/caddy/Caddyfile.prod
Fellowship Scholar f6a5823439 init commit
2026-03-29 20:07:56 +00:00

14 lines
610 B
Caddyfile

# Caddyfile for Fellowship SUT - PRODUCTION
# Domain will be dynamically set via environment variable CADDY_DOMAIN
# Uses Let's Encrypt Production CA for trusted certificates
# Rate limit: 50 certificates per domain per week
# For local development, use Caddyfile (staging) instead
# For tutorial instances (SUT + Jenkins + IDE), use Caddyfile.fellowship instead
{$CADDY_DOMAIN:localhost} {
# Let Caddy use its default automatic HTTPS issuers.
# This avoids hard-failing when a single ACME CA is temporarily rate-limited.
reverse_proxy /api/* backend:5000
reverse_proxy /* frontend:3000
}