hyperhive/nix/host-modules/hive-gateway
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 6caf177416 refactor(3202): matrix declares its own vhost, dns name and SPA map
Moves the matrix sub-domain vhost out of the gateway's vhosts.nix, its
`address=` rule out of dnsmasq.nix, and the Accept-header
`$matrix_spa_target` map out of the gateway's appendHttpConfig — all
three into hive-matrix.nix.

The map is the one that had no business being where it was: it exists
solely for the SPA fallback in the vhost's `/` location, and
`appendHttpConfig` is a `lines` option, so a module can contribute to
it without the gateway assembling it.

The `.well-known/matrix/*` delegation deliberately stays on the hive's
own vhost. The spec requires it at the SERVER NAME, which is the hive
domain: that is the hive answering "where is my homeserver", not the
homeserver answering for itself. Moving it would have been the obvious
symmetric thing and it would have been wrong.
2026-08-13 16:14:37 +02:00
..
default.nix refactor(3202): matrix declares its own vhost, dns name and SPA map 2026-08-13 16:14:37 +02:00
dnsmasq.nix refactor(3202): matrix declares its own vhost, dns name and SPA map 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): matrix declares its own vhost, dns name and SPA map 2026-08-13 16:14:37 +02:00