Commit Graph
4 Commits
Author SHA1 Message Date
Evie Gauthier 918f72c295 fix: use port 8080 instead of 80 in Caddyfile
Caddy is run with --cap-drop=ALL which removes CAP_NET_BIND_SERVICE,
so binding to privileged ports (<1024) fails. Use port 8080 instead,
consistent with the previous nginx-based config.
2026-03-08 00:24:19 -05:00
Bea b18d1e77e0 feat(caddy): enable HTTP/2 Cleartext (h2c) for proxy use 2026-03-07 19:19:39 +00:00
Bea f252568ede perf: add build-time Brotli pre-compression
Generate .br sidecar files at max quality (level 11) during the Vite
build for all compressible assets (JS, CSS, HTML, WASM, SVG, etc.).
Compressible assets shrink from ~17 MB to ~3.4 MB — an 80% reduction.

Configure Caddy to serve pre-compressed .br files via file_server
precompressed, with on-the-fly zstd/gzip fallback for assets without
sidecars.
2026-03-07 19:18:23 +00:00
Bea 4beb29b01a refactor(docker): replace nginx with Caddy
Caddy handles SPA routing and static file serving natively without
rewrite rules, resulting in a simpler setup.
2026-03-07 19:15:58 +00:00