MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy All in One
MuseMVP Docs
MuseMVP Docs
OverviewTech StackQuick Start
Project Structure
EmailObject Storage
Security BaselineRequest ProxyTurnstile Verification
Internationalization
SEOAnalytics
Security

Request Proxy

MuseMVP uses a single Next.js proxy.ts entry for locale routing.

MuseMVP uses src/proxy.ts as the only Next.js request entry. Locale routing stays there, and auth decisions stay in layouts, pages, and the API.

Why proxy.ts

  • Next.js 16 and OpenNext Cloudflare 1.20 both accept proxy.ts. The template no longer keeps a second request entry.
  • The entry only handles request shape: locale routing, rewrite or redirect, and the static matcher. It does not decide sessions or roles.
  • One file removes the old EdgeOne filename switch between middleware.ts and proxy.ts.

Boundary

Keep request-shape work in proxy.ts. Auth state and business redirects belong in layout, page, or server logic.

OpenNext

OpenNext still marks Node.js middleware bundling as experimental. The template ships proxy.ts because that is the entry OpenNext 1.20.3 and later can bundle.

Security Baseline

Default protections for startup env validation, security headers, error boundaries, and API error handling.

Turnstile Verification

Integrate Cloudflare Turnstile on auth UI and backend verification pipeline.

On this page

Why proxy.ts

One payment. Tax included.

All in One

Base, Flare and every UI template, plus new ones.

$129

Buy All in One