Commit graph

4 commits

Author SHA1 Message Date
9d315f81c6 Caddyfile: redirect old raw-IP URLs to the canonical domain (#16)
Requests to http://<vps-ip>/... were bounced by the default HTTP->HTTPS rule to
https on the bare IP, which has no certificate and fails the TLS handshake, so
pre-domain bookmarks dead-ended with a blank page. Add an http://<ip> site block
that 301-redirects to https://emigriffith.dev, preserving the path.
2026-07-11 03:40:08 +00:00
4fb071039b Caddyfile: use a named path matcher for the /thermograph routes (#14)
The handle directive takes a single matcher token; two space-separated paths
(/thermograph /thermograph/*) fail to parse with 'Wrong argument count'. Match
both via a named @thermograph path matcher instead. Verified with caddy validate.
2026-07-11 03:23:28 +00:00
ccf67a257e Scope app to /thermograph, free the domain root for a portfolio (#10)
- Drop the app-level "/" redirect so the FastAPI app no longer claims the
  domain root; it stays scoped to THERMOGRAPH_BASE (/thermograph). Root now
  404s at the app, leaving it for another service behind the proxy.
- Caddyfile: serve a static portfolio at / and reverse-proxy /thermograph* to
  uvicorn, on emigriffith.dev with automatic Let's Encrypt TLS.
- Default THERMOGRAPH_BASE to /thermograph in the env example to match.
2026-07-11 03:01:16 +00:00
Emi Griffith
9fd1839ce9 Initial commit: app +
VPS deploy pipeline
2026-07-10 17:29:47 -07:00