move the hive's vhosts and matrix discovery out of the gateway
The dashboard vhost, the hive domain vhost and the dashboard's local name move to hive-c0re/vhosts.nix; the matrix .well-known discovery and the legacy /matrix/ redirect move to glue-matrix-hive-discovery.nix, which adds them to the hive domain vhost. Both declare through gateway.vhosts. hive-gateway/vhosts.nix keeps the catch-all only, and the gateway no longer reads deploy.matrix or c0re.servedFrontend, nor deploy.hive-controller.enable for its vhosts. Part of #3742.
This commit is contained in:
parent
2489830772
commit
b4c5954491
17 changed files with 391 additions and 378 deletions
|
|
@ -9,7 +9,7 @@
|
|||
# the plain vendored dist (./swagger-ui-dist.nix). This is the FULL
|
||||
# tree hive-gateway's nginx serves at `/api/docs/` — hive-c0re hosts
|
||||
# none of it, only the dynamic `/api/openapi.json` (see
|
||||
# nix/host-modules/hive-gateway/vhosts.nix).
|
||||
# nix/host-modules/hive-c0re/vhosts.nix).
|
||||
#
|
||||
# Output layout: every file from `swagger-ui-dist`, with 3 replaced:
|
||||
# index.html adds colors.css (live stylix theme) +
|
||||
|
|
|
|||
Loading…
Reference in a new issue