pxxl.toml, deploy with your code, and roll back with it. This page has ready-to-copy recipes. Every key and limit is in the pxxl.toml reference.
All routing needs version = 1 at the top of the file.
Single-page app
Serveindex.html for routes like /dashboard/settings:
Clean URLs
Serve/about from about.html (static sites):
Redirect an old path
status is required: 301, 302, 307, or 308.
Redirect to another domain
Proxy an API
Keep calls same-origin (no CORS) by proxying/api to your backend:
Authorization header are passed on.
Cache static assets
Security headers
Only for some visitors
Send social media bots to an image function:Already have vercel.json?
Ifpxxl.toml has no routing, Pxxl reads rewrites, redirects, headers, cleanUrls, and has/missing from vercel.json. Don’t define routing in both files: the deploy fails. The old routes key isn’t supported.
Check your rules
The deploy log says which file the rules came from:pxxl.toml, vercel.json, or platform defaults. If a rule is invalid, the deploy fails with a message such as:

