summaryrefslogtreecommitdiff
path: root/authelia
AgeCommit message (Collapse)Author
2026-03-04Add Netdata auth-request protection and fix Authelia rule orderingArseney300
- nginx: add /netdata/ location with auth_request and Cache-Control: no-store to prevent browser-cached pages from triggering CORS errors on API calls - nginx: add explicit Cookie header forwarding to all /_authelia-auth subrequest locations (swave.lol, jenkins, gerrit server blocks) - authelia: fix access_control rule ordering — move netdata/cockpit one_factor rules before the general swave.lol bypass rule so they are evaluated first (Authelia stops at first match) - authelia: split blog/ghost bypass from swave.lol catch-all so the main domain bypass only applies after protected paths are checked Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04docs: add Authelia user management section to setup guideArseney300
Added section 12 covering how to add, change password, and remove Authelia users — including hash generation, YAML format, single-quote requirement for argon2id hashes, and live reload via SIGHUP. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04Remove Authelia gate from Nexus and Docker registryArseney300
Nexus and registry.swave.lol now bypass Authelia entirely — Nexus handles its own authentication for both the web UI and Docker clients. auth_request removed from all nexus/registry nginx locations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04Add Authelia SSO, Jenkins OIDC, Gerrit HTTP auth, and related configArseney300
- authelia/: Full Authelia stack (docker-compose, config, setup guide, nginx snippet) - Forward-auth for Netdata, Cockpit, Nexus, registry - OIDC provider for Jenkins (oic-auth plugin, authorization_policy: one_factor) - HTTP header auth for Gerrit (X-Forwarded-User on /login/ only) - authelia_network: 172.26.0.0/16 - nginx/nginx.conf: - auth.swave.lol server block - /_authelia-auth internal subrequest locations (resolver 127.0.0.11) - auth_request on Gerrit /login/, Jenkins, Nexus, registry - OIDC finishLogin bypass for Jenkins - swave.lol/gerrit and swave.lol/jenkins redirect to subdomains - proxy_redirect for Gerrit container hostname rewrites - nginx/docker-compose.yaml: joined authelia_network - nginx/run_certbot.sh: added auth.swave.lol - jenkins/docker-compose.yaml: removed --prefix=/jenkins (Jenkins now at /) - cockpit/nginx-authelia.conf, netdata/nginx-netdata.conf: added auth_request - git-server/gerrit.config.example: Gerrit config template (real config gitignored) - .gitignore: added users_database.yml, gerrit.config - CLAUDE.md: updated Jenkins, Gerrit, Authelia entries; added key files - doc/setup-guide.md: Authelia section, updated startup order and service table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>