Commit Graph
68 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 e51f64fa5d Use python:3.14-slim as base for auth-gateway image
Shares base layers with the main and rrdtool images, reducing
total disk usage.
2026-11-17 12:28:47 -03:00
Eduardo Silva 894993226f Slim down container images and move them to Python 3.14 and Debian Trixie 2026-11-17 09:49:59 -03:00
Eduardo Silva aeff2d9b6a Prevent invalid Caddy config from app gateway applications 2026-11-16 21:13:50 -03:00
Eduardo Silva 065f278c06 Update auth-gateway TemplateResponse calls for Starlette 1.x 2026-11-16 17:51:37 -03:00
Eduardo Silva 4e8ebce289 Generate auth-gateway test fixtures from the Django config exporter 2026-11-16 11:00:25 -03:00
Eduardo Silva 16521223f9 Handle short TOTP secrets rejected by PyOTP 2.12 in auth-gateway and gatekeeper forms 2026-11-16 10:27:01 -03:00
Eduardo Silva 9f25b6ccc7 update python stack 2026-11-16 10:24:56 -03:00
Eduardo Silva f72f7d9856 Update TOTP verification page names 2026-03-24 16:14:00 -03:00
Eduardo Silva 0a6d70d144 Add robots meta tag to prevent indexing and archiving of pages 2026-03-24 12:38:18 -03:00
Eduardo Silva 5c5375cb9a implement challenge verification flow with altcha integration and add challenge page 2026-03-18 08:56:48 -03:00
Eduardo Silva c3c7fa37cd add dark mode support 2026-03-17 13:29:37 -03:00
Eduardo Silva 8418beb482 enhance policy validation by ensuring protected policies have authentication methods and defaulting to HTTPS in external URL construction 2026-03-16 21:05:16 -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 a9bfcac771 enhance security by sanitizing headers and preventing open redirects 2026-03-16 19:53:05 -03:00
Eduardo Silva 4c109957e9 enhance security by adding HTTP security headers and disabling OpenAPI documentation 2026-03-16 19:49:11 -03:00
Eduardo Silva 76048593f1 refactor login flow to use context path for redirects and enhance path normalization to prevent traversal bypasses 2026-03-16 19:47:48 -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 c707d278f3 add error handling for policy configuration issues in authentication 2026-03-16 14:16:28 -03:00
Eduardo Silva e1f128f217 implement rate limiting for authentication routes and add custom error handling page 2026-03-16 13:42:20 -03:00
Eduardo Silva 685b4eb971 refactor templates to extend base layout and improve styling 2026-03-16 11:58:48 -03:00
Eduardo Silva 66a3895eff enhance logging and error handling in authentication process 2026-03-16 11:26:16 -03:00
Eduardo Silva a68820fd98 add session management routes and session page template 2026-03-16 10:34:10 -03:00
Eduardo Silva 59ca60c642 update libs 2026-03-16 10:18:46 -03:00
Eduardo Silva 76326aded7 update libs 2026-03-16 10:14:52 -03:00
Eduardo Silva 491e78efdb move from authelia implementation to custom authentication gateway 2026-03-16 09:49:17 -03:00
Eduardo Silva d84cf0a174 add initial implementation of auth gateway with models, routes, and session management 2026-03-16 09:47:02 -03:00
Eduardo Silva 218bd32e93 refactor session cookie handling for Authelia integration 2026-03-15 16:30:28 -03:00
Eduardo Silva 517bd14bdb remove unused TOTP field and update user model constraints 2026-03-15 16:29:20 -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 f2c00d59ee increase wait interval for Authelia configuration file check 2026-03-14 23:01:32 -03:00
Eduardo Silva b02f7fcc87 add Caddy and Authelia support with configuration scripts and Docker setup 2026-03-14 22:56:47 -03:00
Eduardo Silva d686e6831d update config example 2026-03-14 11:49:34 -03:00
Eduardo Silva 539f6592c5 update caddy config_files location 2026-03-14 10:46:42 -03:00
Eduardo Silva 2030ec5904 add script to generate wireguard_webadmin.json 2026-03-14 10:41:39 -03:00
Eduardo Silva d364c05f36 update examples 2026-03-14 10:14:19 -03:00
Eduardo Silva 150340becb gatekeeper config examples 2026-03-11 15:34:08 -03:00
Eduardo Silva 29aeb51cf0 Caddy first implementation 2026-03-10 18:18:04 -03:00
Eduardo Silva 6c37beece0 improved cron tasks output and force authentication 2026-02-09 13:09:30 -03:00
Eduardo Silva 05b9644cd3 Update cron tasks for scheduler calls and execution delays 2026-02-09 10:35:43 -03:00
Eduardo Silva 6092c89695 update COMPOSE_VERSION to c1b 2026-01-14 15:58:00 -03:00
Eduardo Silva 01f192f91a update worker versioning and settings for cluster compatibility 2026-01-14 09:21:08 -03:00
Eduardo Silva 5c54b4a525 feat: add WIREGUARD_STATUS_CACHE_REFRESH_INTERVAL environment variable for configurable cache refresh rate 2026-01-13 19:42:23 -03:00