This post explains how Vercel's CDN can be used to front non-Vercel-hosted applications like Discourse without a full migration.
- •Set up requires two domains: an inner host (origin server) and an outer host (Vercel project domain) with rewrites configured in vercel.ts
- •The x-proxy-secret header validates traffic so the inner host cannot be accessed directly
- •Vercel's CDN provides DDoS protection, Web Analytics (cookie-free), Bot Management, and firewall capabilities
- •Vercel Microfrontends allow mounting separate Next.js apps on specific route paths of the same domain for incremental modernization
- •This architecture enables adding modern features route-by-route without a full platform rewrite
This summary was automatically generated by AI based on the original article and may not be fully accurate.