Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/host-modules/hive-gateway
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 68e30957e2 gateway: declare the gateway's own vhosts under gateway.vhosts
The catch-all, the dashboard and the hive-domain vhost were built in
vhosts.nix with the listen set, TLS attrs and headers applied by hand.
They are declared under services.hyperhive.gateway.vhosts now, so every
vhost behind the gateway goes through declared-vhosts.nix.

Two gateway-side rules cover what the catch-all needed: a vhost can set
securityHeaders = false (the catch-all only returns 444), and `default`
is rendered at mkDefault priority so an operator's own default vhost
still wins. The matrix discovery locations are unchanged.

The rendered nginx vhosts are unchanged.
2026-10-16 13:51:20 +02:00
..
declared-vhosts.nix gateway: declare the gateway's own vhosts under gateway.vhosts 2026-10-16 13:51:20 +02:00
default.nix gateway: declare the gateway's own vhosts under gateway.vhosts 2026-10-16 13:51:20 +02:00
dns.nix swarm-otel: ship the whole host journal, drop user sessions after it 2026-09-30 23:01:49 +02:00
dnsmasq.nix swarm-ci-runner: run the forge CI runner as a swarm service 2026-10-05 13:55:37 +02:00
error-pages.nix gateway: serve the hive dashboard on <hive>.hives.<swarm> behind authelia, drop htpasswd 2026-10-15 21:44:27 +02:00
options.nix gateway: declare the gateway's own vhosts under gateway.vhosts 2026-10-16 13:51:20 +02:00
vhost-lib.nix gateway: service modules declare their vhost under gateway.vhosts 2026-10-16 12:47:03 +02:00
vhosts.nix gateway: declare the gateway's own vhosts under gateway.vhosts 2026-10-16 13:51:20 +02:00