Skip to content

History / Edge and TLS

Revisions

  • Rename the project to Minecraft: runtime paths and unit names Follows the repository rename: /var/minecraftai -> /var/minecraft and minecraftai-caddy -> minecraft-caddy in the documented filesystem layout, the state database path, the mod store and the test scratch directories.

    @Pummelchen Pummelchen committed Sep 13, 2026
  • Rename the project to Minecraft, dropping the AI suffix

    @Pummelchen Pummelchen committed Sep 13, 2026
  • Close the updater's port; nothing answers by bare IP now The XAIOS updater's :8090 is bound to loopback. It was the last thing on this host reachable without a hostname. It stayed open while it was unknown whether any device in the field fetched from http://91.99.176.243:8090/ — the catalogs carry relative paths, so a device's base URL lives on the device and cannot be read from the server, and closing it blind risked stopping firmware updates for a fleet that could not be inventoried. Access logging settled the question: the only traffic that ever reached the port directly was an internet scanner. Every project is now addressed by its nip.io hostname and only that. http://91.99.176.243/ redirects to an address with no certificate — a deliberate dead end rather than a default project.

    André Borchert committed Aug 23, 2026
  • Record the plain-HTTP exception for the updater Documents why xaios is served over HTTP on :80 without a redirect — its devices have no clock and cannot complete a TLS handshake — and the consequence, that HTTP-01 is unusable for that hostname so the entry pins TLS-ALPN-01 explicitly.

    André Borchert committed Aug 23, 2026
  • Record how to verify HTTP/3, and the exit-node trap HTTP/3 confirmed by an external checker for all three hostnames: a QUIC connection on every attempt. Documents the trap that made this hard to establish. A machine using this VPS as a Tailscale exit node leaves with the server's own public address, so a QUIC request to any hostname here hairpins back into the same host and the reply path breaks. The packets arrive but nothing answers, and curl reports what looks exactly like a firewall block. TCP survives the hairpin, so HTTP/2 keeps working and only HTTP/3 appears broken — a combination very easy to misread as a server fault. Also records that all three serve a complete four-certificate chain and verify with no extra flags, the usual way a site works in curl and fails elsewhere.

    André Borchert committed Aug 23, 2026
  • Record the finished state of all three sites The follow-ups this page listed are done. RoomCAD and the MinecraftAI site run on loopback behind the edge; all three sites send HSTS, nosniff, frame protection and a referrer policy, and none advertise their server software. The XAIOS updater keeps its public port deliberately, and the page now says why: it served plain HTTP there before the edge existed, so any device in the field can only be fetching from that address, and the catalogs use relative paths so a device's base URL cannot be read from the server. Access logging is on; the port closes once the log shows nobody external uses it. Adds the ownership rule that the drift proved necessary — routing entries belong to the project they route to, not to whichever repository set up the edge.

    André Borchert committed Aug 23, 2026
  • The edge is live; record what deployment found Edge-and-TLS moves from built to live, and gains the two things deployment taught. The premise was wrong: ports 80 and 443 were never in use. nginx had held them, was already stopped, but remained enabled and would have raced the edge on the next reboot. RoomCAD's non-standard port and hand-rolled certificate renewal were working around a constraint that had already gone away. The edge is now documented as a pure router, and why: this host was burned by a shared Caddyfile where each project's deploy overwrote the others'. Projects keep their own web servers; an entry here is four lines a deploy never rewrites. Two conventions added after both regressed during deployment — forwarding the client's Host, without which a hostname-matched upstream returns a bare empty 200 with nothing logged, and using `bind` rather than a host in the site address to restrict a listener to loopback. Open Decisions has no blocking items left.

    André Borchert committed Aug 23, 2026
  • Replace the port-8877 edge with the master edge The certificate blocker is resolved. A master Caddy owning 80 and 443 for the whole host can obtain certificates normally, so every project gets automatic HTTPS on a clean URL with no port — the 8877 workaround and its three ranked certificate options are gone. Edge-and-TLS is now marked built rather than design stage: the config exists in caddy/ and is covered by 21 edge tests. Site hostname changes to minecraft.91.99.176.243.nip.io. Open Decisions loses both blocking items and gains the one that replaced them: cutting the master over from whatever holds 80 and 443 today, which is the single step that can take every site on the host offline.

    André Borchert committed Aug 23, 2026
  • Add Swift engine, Caddy edge, and version flexibility Records the stack decisions and the flexibility requirement. New pages: Engine one Swift 6.3.3 process for all versions and the website, with the dependency stack, command surface and API Adding-a-Version a Minecraft version is a row, not code; what `version add` provisions end to end Edge-and-TLS Caddy on 8877 with HTTP/3, and the certificate problem that blocks HTTPS Structural change: one engine rather than v1's three per-version services. Adding a Minecraft version now creates no service and changes no Caddy configuration. Blocking finding: with ports 80 and 443 held by other services and the hostname under nip.io, all three ACME challenge types are unavailable — HTTP-01 needs 80, TLS-ALPN-01 needs 443, DNS-01 needs a zone we do not control. Caddy cannot obtain this certificate itself. Options ranked in Edge-and-TLS; recorded as blocking in Open-Decisions. The live role becomes a column moved by `version promote`, replacing the open question of which version is live.

    André Borchert committed Aug 23, 2026