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 ddb583cc22 gateway: service modules declare their vhost under gateway.vhosts
Ten service modules (forge, matrix chat, authelia, grafana, otel, nats,
swarm-ui, victorialogs, victoriametrics, bao UI) wrote
services.nginx.virtualHosts themselves, each applying the gateway's
listen set, per-name TLS attrs and security headers by hand. They now
declare services.hyperhive.gateway.vhosts.<name> with only their own
locations and options; ./declared-vhosts.nix renders it into the nginx
vhost with listen, TLS and headers added.

An eval assertion refuses a declared vhost that sets listen, addSSL,
onlySSL, enableACME, useACMEHost, sslCertificate or sslCertificateKey,
and one declared while the gateway is off. nats' own leaf is the new
`certificate` field. The rendered nginx vhosts are unchanged.
2026-10-16 12:47:03 +02:00
..
declared-vhosts.nix gateway: service modules declare their vhost under gateway.vhosts 2026-10-16 12:47:03 +02:00
default.nix gateway: service modules declare their vhost under gateway.vhosts 2026-10-16 12:47:03 +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: service modules declare their vhost under gateway.vhosts 2026-10-16 12:47:03 +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: service modules declare their vhost under gateway.vhosts 2026-10-16 12:47:03 +02:00