diff --git a/infra/start.sh b/infra/start.sh index 1d453bc..a82ee60 100755 --- a/infra/start.sh +++ b/infra/start.sh @@ -20,45 +20,10 @@ if [ -z "$DOMAIN_SUFFIX" ] || [ "$DOMAIN_SUFFIX" = "localhost" ]; then fi if [ -z "$ACME_EMAIL" ]; then - echo "ERROR: Set ACME_EMAIL in infra/.env (required for Let's Encrypt)" - exit 1 + echo "[hiy] ACME_EMAIL not set — Caddy will use its internal CA (self-signed)." + echo "[hiy] For a public domain with Let's Encrypt, set ACME_EMAIL in infra/.env" fi -# ── Generate production caddy.json ───────────────────────────────────────────── -# Writes TLS-enabled config using Let's Encrypt (no Cloudflare required). -# Caddy will use the HTTP-01 challenge (port 80) or TLS-ALPN-01 (port 443). -cat > "$SCRIPT_DIR/../proxy/caddy.json" <