thermograph/deploy/thermograph.env.example
Emi Griffith 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

11 lines
514 B
Text

# Copy to /etc/thermograph.env on the VPS and edit.
# Read by the systemd unit (EnvironmentFile).
# Port uvicorn binds on loopback. Caddy proxies to this. Keep 8137 unless it clashes.
PORT=8137
# Base path the app is served under.
# /thermograph -> app under a sub-path (share the host with other apps, e.g. a
# portfolio at the root — this is what the Caddyfile expects)
# / -> app at the domain root (only if Thermograph owns the whole domain)
THERMOGRAPH_BASE=/thermograph