Netlify Configuration (netlify.toml) Place at the repository root (or at the base directory for monorepos). Build Settings Redirects Rule order matters — Netlify processes the first matching rule. Place specific rules before general ones. Headers Headers apply only to files served from Netlify's CDN (not to function or edge function responses — set those in code). Deploy Contexts Override settings per deploy context: Environment Variables Do not put secrets in netlify.toml (it's committed to source control). Use the Netlify UI or CLI for sensitive values. See the netlify-cli-and-deploy skill…