Commit Graph
14 Commits
Author SHA1 Message Date
Eduardo Silva 77e046dc1f Add certificate retry, optional fallback and DNS propagation fix to App Gateway hosts 2026-11-18 17:33:44 -03:00
Eduardo Silva c5f215d9df Add per-host certificate type and DNS challenge support to App Gateway
Each application host now selects how its TLS certificate is issued:
self-signed, ACME HTTP challenge, or ACME DNS challenge using a stored
DNS credential. ACME modes fall back to the internal CA when issuance
fails, so hosts stay reachable with a browser warning instead of a TLS
error.

- Add DnsChallengeCredential model and provider registry (Cloudflare)
- Add certificate_type and dns_credential to ApplicationHost
- Sync WireGuard WebAdmin hosts from .env into the reserved application
- Export per-host TLS settings to tls.json, read only by Caddy
- Group hosts by certificate settings into separate Caddy site blocks
- Build Caddy with the Cloudflare DNS module using xcaddy
- Regenerate the Caddyfile without DNS challenge if validation fails
2026-11-17 15:59:40 -03:00
Eduardo Silva 8435d5edcb add alert for disabled Caddy in App Gateway and Gatekeeper modules 2026-03-17 15:43:21 -03:00
Eduardo Silva 058086c943 add support for displaying Django hostnames in application details 2026-03-16 17:29:39 -03:00
Eduardo Silva 29d1621152 add reserved application checks to prevent modification and deletion 2026-03-16 17:24:20 -03:00
Eduardo Silva 9e4da484fe add default entries creation on post-migrate signal and refactor application model logic 2026-03-16 17:08:50 -03:00
Eduardo Silva 8d5e80758d improved debug export for caddy 2026-03-15 11:12:58 -03:00
Eduardo Silva 1a71dc4eb3 add conditional export of Caddy config for DEBUG mode 2026-03-15 11:08:09 -03:00
Eduardo Silva ac87874b8a add export configuration feature for Caddy 2026-03-14 11:54:49 -03:00
Eduardo Silva a9baffe725 add policy type selection for access policies 2026-03-13 20:12:29 -03:00
Eduardo Silva 9e9dc6b4bd add app_gateway_policy_form template 2026-03-13 12:49:57 -03:00
Eduardo Silva 5f894c4e6e add application details view and update related forms; improve layout 2026-03-12 18:41:21 -03:00
Eduardo Silva 289abdada3 add app_gateway management views and templates 2026-03-12 14:15:14 -03:00
Eduardo Silva 1b51ced8bd gatekeeper and app_gateway first commit 2026-03-11 16:35:43 -03:00