hyperhive/nix/host-modules/hive-gateway
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 56ab6d26c1 refactor(3202): authelia declares its own vhost and dns name
Moves the authelia vhost out of the gateway's vhosts.nix and its
`address=` rule out of dnsmasq.nix, into swarm-authelia.nix.

Both land inside that module's existing `cfg.enable` guard, which is
the load-bearing part: every hive in a swarm knows `authelia.url`, but
only the host that RUNS the container may claim the name. A client hive
declaring the vhost would answer for a service it does not run, and
publishing the DNS record would point every agent on its bridge at that
wrong answer.

The kit grows a fourth member, `errorPages`, because the vhost aims its
502/503/504 at the gateway's styled sso-unavailable page. Republished
rather than imported per module: a service rendering its own would drift
from the rest of the gateway the first time the theme changed.
2026-08-13 16:14:37 +02:00
..
default.nix refactor(3202): authelia declares its own vhost and dns name 2026-08-13 16:14:37 +02:00
dnsmasq.nix refactor(3202): authelia declares its own vhost and dns name 2026-08-13 16:14:37 +02:00
error-pages.nix feat(3189): the sso vhost serves a themed page instead of a bare 502 2026-08-12 10:29:16 +02:00
options.nix refactor(3202): authelia declares its own vhost and dns name 2026-08-13 16:14:37 +02:00
vhost-lib.nix refactor(3202): authelia declares its own vhost and dns name 2026-08-13 16:14:37 +02:00
vhosts.nix refactor(3202): authelia declares its own vhost and dns name 2026-08-13 16:14:37 +02:00