docs(plan): scrub stale pack subdomain + packwiz from live-arch docs
The pack./packwiz service was removed operationally long ago, but several plan docs still presented pack. as a live caddy vhost / DNS subdomain and render-pack.sh as a current tool. Remove those references from the current-architecture docs (overview, caddy, tooling, uptime-kuma, letsencrypt, mc-backup); leave the migration log (04-mods.md), superseded banner (04-packwiz.md), commit history (12-build-order.md), and planned landing rework (18) intact as deliberate history. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,8 +8,8 @@ on a localhost-only port (`CADDY_HTTP_BIND=127.0.0.1`, `CADDY_HTTP_PORT=8880`);
|
||||
nginx reverse-proxies every public vhost to it by Host header. Roles:
|
||||
|
||||
1. **Reverse proxy** — `auth.` → drasl, `avatar.` → nmsr, `status.` → uptime-kuma.
|
||||
2. **Static** — `pack.` serves packwiz metadata; apex serves the landing page +
|
||||
`/launcher/` downloads; `distribution.` serves a static site from another repo.
|
||||
2. **Static** — apex serves the landing page + `/launcher/` downloads;
|
||||
`distribution.` serves a static site from another repo.
|
||||
|
||||
Image: `caddy:alpine`. caddy natively reads `{$BASE_DOMAIN}` env placeholders —
|
||||
no template render needed.
|
||||
@@ -22,16 +22,15 @@ caddy:
|
||||
mcnet:
|
||||
aliases:
|
||||
- "auth.${BASE_DOMAIN}"
|
||||
- "pack.${BASE_DOMAIN}"
|
||||
```
|
||||
Lets `minecraft` reach `http://auth.ulicraft.net/authlib-injector` and
|
||||
`http://pack.ulicraft.net/pack.toml` from inside the stack.
|
||||
Lets `minecraft` reach `http://auth.ulicraft.net/authlib-injector` from inside
|
||||
the stack.
|
||||
|
||||
## conf.d snippets
|
||||
|
||||
The Caddyfile imports per-vhost snippets from `caddy/conf.d/`:
|
||||
|
||||
- `00-core.caddy` — `auth.` → drasl, `pack.` → `/srv/pack` (browse).
|
||||
- `00-core.caddy` — `auth.` → drasl.
|
||||
- `10-static.caddy` — apex landing (`/srv/www`) + `/launcher/*` (`/srv/launcher`).
|
||||
- `30-distribution.caddy` — `distribution.` → `/srv/distribution` (static, from
|
||||
`DISTRIBUTION_WEB_ROOT`, another repo).
|
||||
@@ -39,14 +38,12 @@ The Caddyfile imports per-vhost snippets from `caddy/conf.d/`:
|
||||
- `50-status.caddy` — `status.` → `uptime-kuma:3001` (status page).
|
||||
|
||||
All vhosts are plain `http://…`; TLS is nginx's job. Mounts: `./www:/srv/www:ro`,
|
||||
`./pack:/srv/pack:ro`, `./launcher:/srv/launcher:ro`,
|
||||
`${DISTRIBUTION_WEB_ROOT}:/srv/distribution:ro`.
|
||||
`./launcher:/srv/launcher:ro`, `${DISTRIBUTION_WEB_ROOT}:/srv/distribution:ro`.
|
||||
|
||||
## Notes / risks
|
||||
|
||||
- drasl behind a proxy: with matching `BaseURL` and nginx terminating TLS it is
|
||||
fine; nginx passes the original Host through to caddy → drasl.
|
||||
- `file_server browse` gives a directory listing — handy for debugging the pack.
|
||||
- `/launcher/` is a sibling mount (`/srv/launcher`), not nested under the
|
||||
read-only `/srv/www`; `handle_path` strips the prefix.
|
||||
|
||||
@@ -55,8 +52,8 @@ All vhosts are plain `http://…`; TLS is nginx's job. Mounts: `./www:/srv/www:r
|
||||
- [ ] `caddy` service in `docker-compose.yml`, published `127.0.0.1:${CADDY_HTTP_PORT}:80`
|
||||
- [ ] Pass `BASE_DOMAIN` + `DISTRIBUTION_WEB_ROOT` into caddy env
|
||||
- [ ] Caddyfile imports `conf.d/*.caddy`
|
||||
- [ ] Network aliases for `auth.` and `pack.` subdomains
|
||||
- [ ] Mount `./www`, `./pack`, `./launcher`, `${DISTRIBUTION_WEB_ROOT}`
|
||||
- [ ] Network alias for `auth.` subdomain
|
||||
- [ ] Mount `./www`, `./launcher`, `${DISTRIBUTION_WEB_ROOT}`
|
||||
- [ ] Confirm reverse_proxy to drasl works (auth web UI loads, Yggdrasil API responds)
|
||||
- [ ] Verify internal alias resolution from `minecraft` container (curl pack.toml)
|
||||
- [ ] Verify internal alias resolution from `minecraft` container (curl authlib-injector)
|
||||
- [ ] Verify nmsr + uptime-kuma proxied (`avatar.` renders, `status.` loads)
|
||||
|
||||
Reference in New Issue
Block a user