Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3be7a211d0 | ||
|
|
6aabca9ecb |
1 changed files with 14 additions and 6 deletions
|
|
@ -1,9 +1,17 @@
|
||||||
# nginx virtual-host tree for the gateway: the `_` default server
|
# nginx virtual-host tree for the **hive's own** gateway surface: the `_`
|
||||||
# (dashboard, per-agent routing, matrix discovery), the forge, matrix
|
# default server, which answers unmatched `Host` with a bare 444, and the
|
||||||
# and authelia sub-domain vhosts, and the Accept-header SPA map for the
|
# vhost named for the hive domain, which carries the dashboard, per-agent
|
||||||
# matrix GUI. Pure function — called from ./default.nix with the
|
# routing, matrix discovery, the swagger UI and the legacy
|
||||||
# outer-scope config values as arguments; returns
|
# `<hive>/matrix/*` redirect.
|
||||||
# `{ virtualHosts }`.
|
#
|
||||||
|
# Scope: a swarm service declares its own vhost and dns name in its own
|
||||||
|
# module, built from the kit this file also consumes
|
||||||
|
# (`services.hyperhive.gateway.lib`, ./vhost-lib.nix). That keeps a
|
||||||
|
# service's gateway surface next to the service, and keeps this file to
|
||||||
|
# the surface the hive itself serves.
|
||||||
|
#
|
||||||
|
# Pure function — called from ./default.nix with the outer-scope config
|
||||||
|
# values as arguments; returns `{ virtualHosts }`.
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
cfg, # services.hyperhive.gateway
|
cfg, # services.hyperhive.gateway
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue