Watch
0
0
Fork
You've already forked hyperhive
0

reword stale hive-domain discovery claims

This commit is contained in:
atlas 2026-10-25 11:39:39 +01:00 • committed by mara
commit acfdcd725f
5 changed files with 11 additions and 11 deletions

View file

@ -104,8 +104,8 @@ in
config = lib.mkIf deployCfg.swarm-controller.enable {
assertions = [
{
# The hive domain has its own vhost (matrix discovery, the redirect
# to the dashboard). A second vhost claiming the same
# The hive domain has its own vhost (the redirect to the dashboard, and
# discovery for a pinned server name). A second vhost claiming the same
# server_name is not an error to nginx — it picks one and logs a
# conflict — so the failure would surface as "the swarm UI is
# sometimes a redirect", which is far harder to read than an
@ -114,8 +114,8 @@ in
message = ''
services.hyperhive.swarm.domain (${apex}) must differ from
services.hyperhive.domain (${hiveDomain}) — the hive domain is
already served by the gateway's own vhost for it (matrix
discovery, the redirect to the dashboard), and two vhosts
already served by the gateway's own vhost for it (the redirect to
the dashboard, and discovery for a pinned server name), and two vhosts
claiming one server_name silently resolve to whichever nginx
picks.