Caddy Www Blog Path
Caddy Www Blog Path
Source: docs/infrastructure/caddy-www-blog-path.caddy
1# Reference: path-based blog on unified www dev host (Next.js basePath: /blog, port 3063).2# Merge into the `www.assistance.dev.assistance.bg` site block on the proxy (BA/registry Caddyfile),3# *before* the catch-all that sends everything to www :3040.4#5# Use the real LAN hostname/IP of the machine running `pnpm dev` / blog (see DEVELOPER.md).6# Do NOT use handle_path /blog* here — stripping /blog breaks Next basePath and HMR7# (e.g. wss://www…/blog/_next/webpack-hmr → HTTP 502).89@blog_path path /blog /blog/*10handle @blog_path {11 reverse_proxy suse-10.lan.assistance.bg:3063 {12 import svc_proxy13 }14}