hyperhive/nix/host-modules/hive-gateway
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas d03549c40f fix(3213): the swarm UI vhost forces https
authelia refuses to authorize a non-https target: the auth subrequest for
`X-Original-URL: http://…` answers 400, and nginx's auth_request only
understands 2xx/401/403, so a plain-http visit died as "auth request
unexpected status: 400" — a bare 400 in the browser with no hint that a
login exists.

The shared vhostListen binds :80 as well as :443 and every vhost used
addSSL, so the door was open on a port the lock cannot work on. That is
harmless for forge and matrix, where http is merely insecure rather than
broken, so the asymmetry stays local to the one vhost whose correctness
depends on the scheme.

removeAttrs because nixos asserts on a vhost declaring both addSSL and
forceSSL.

Measured against the pinned binary rather than reasoned about:
  X-Original-URL: http://constellation…/   -> 400 Bad Request
  X-Original-URL: https://constellation…/  -> 401 + Location: auth…?rd=…
2026-08-12 20:12:45 +02:00
..
default.nix feat(3167): publish the swarm UI's name to agents and to local dev 2026-08-12 17:43:35 +02:00
dnsmasq.nix feat(3167): publish the swarm UI's name to agents and to local dev 2026-08-12 17:43:35 +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 docs(3191): the gateway's comments describe a host service, not a container 2026-08-12 12:20:28 +02:00
vhosts.nix fix(3213): the swarm UI vhost forces https 2026-08-12 20:12:45 +02:00