Commit Graph
16 Commits
Author SHA1 Message Date
Eduardo Silva 467bc48cce Warn about unexported App Gateway changes and restart Caddy when switching hosts to self-signed 2026-11-18 18:00:06 -03:00
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 aeff2d9b6a Prevent invalid Caddy config from app gateway applications 2026-11-16 21:13:50 -03:00
Eduardo Silva cf4674b933 enhance validation in forms by checking hostname and path prefix for invalid characters and reserved prefixes 2026-03-16 20:48:44 -03:00
Eduardo Silva fb17394099 enhance security by adding cache control headers, validating password length, and rejecting encoded slashes in path processing 2026-03-16 20:36:49 -03:00
Eduardo Silva ca63b87123 implement CSRF protection by adding token generation, validation, and cookie management in login flows 2026-03-16 20:23:18 -03:00
Eduardo Silva bf1991457a enhance security by enforcing strict SameSite cookies, validating OIDC callback host, and improving path matching logic 2026-03-16 19:35:24 -03:00
Eduardo Silva 5cadfba3b7 add allow_invalid_cert field to application model and update related forms and config processing 2026-03-16 14:27:03 -03:00
Eduardo Silva a68820fd98 add session management routes and session page template 2026-03-16 10:34:10 -03:00
Eduardo Silva 491e78efdb move from authelia implementation to custom authentication gateway 2026-03-16 09:49:17 -03:00
Eduardo Silva 218bd32e93 refactor session cookie handling for Authelia integration 2026-03-15 16:30:28 -03:00
Eduardo Silva 6b70701c9c refactor Caddyfile generation to improve policy handling and cookie collection 2026-03-15 11:37:25 -03:00
Eduardo Silva a5ab2f65e8 update Authelia internal URL 2026-03-15 10:57:56 -03:00
Eduardo Silva 715332f384 refactor Authelia setup and configuration handling 2026-03-15 10:16:26 -03:00
Eduardo Silva b02f7fcc87 add Caddy and Authelia support with configuration scripts and Docker setup 2026-03-14 22:56:47 -03:00