# vercel.json reference

> forkrail reads the same `vercel.json` as Vercel. Here’s every key: what works, what’s ignored, and what stops a deploy so nothing behaves differently by surprise.

- Category: Reference
- URL: https://www.forkrail.com/docs/vercel-json

## Config files

Any one of `vercel.json`, `vercel.toml`, `vercel.ts`, `vercel.mts`, `vercel.js`, `vercel.mjs` or `vercel.cjs` works; two in one project stops the deploy, as on Vercel. A `vercel.ts` runs with Node when the project is read, and its `config` export (or default export) is used.

**vercel.ts**

```ts
import type { VercelConfig } from '@vercel/config/v1'

export const config: VercelConfig = {
  cleanUrls: true,
  crons: [{ path: '/api/cron/sync', schedule: '0 5 * * *' }],
}
```

## Supported keys

| Key | Notes | Docs |
| --- | --- | --- |
| `buildCommand`, `installCommand`, `outputDirectory`, `framework` | As on Vercel. | [Deploy](https://www.forkrail.com/docs/deploy) |
| `functions` | `memory`, `maxDuration`, `includeFiles`, `excludeFiles`, `architecture: "arm64"`, and a `runtime` naming the language’s own. | [Function settings](https://www.forkrail.com/docs/functions) |
| `fluid` | Concurrent compute on or off. | [Concurrent compute](https://www.forkrail.com/docs/concurrent-compute) |
| `crons`, `schedules` | Up to 100 a project; `schedules` targets a `path`. | [Cron jobs](https://www.forkrail.com/docs/cron-schedules) |
| `redirects`, `rewrites`, `headers`, `cleanUrls`, `trailingSlash`, `routes` | Vercel’s patterns, order and limits. | [Redirects and rewrites](https://www.forkrail.com/docs/routing) |
| `bulkRedirectsPath` | CSV, JSON or JSONL, up to 1,000,000. | [Bulk redirects](https://www.forkrail.com/docs/routing#bulk-redirects) |
| `images` | Vercel’s shape. | [Image Optimization](https://www.forkrail.com/docs/image-optimization) |
| `proxy` | Routing Middleware’s entry point and matcher. | [Middleware](https://www.forkrail.com/docs/middleware) |
| `git.deploymentEnabled`, `ignoreCommand` | Which pushes deploy. | [Deploy from GitHub](https://www.forkrail.com/docs/deploy-from-github) |
| `github.autoJobCancelation` | A newer push cancels older builds still running (default true). | [Deploy from GitHub](https://www.forkrail.com/docs/deploy-from-github) |
| `github.autoAlias` | `false`: production branch pushes build production deployments without moving production. | [Deployments](https://www.forkrail.com/docs/deployments-and-rollbacks) |

## Ignored keys

These are accepted and have no effect, with a warning where it matters: `version`, `regions` (use [function regions](https://www.forkrail.com/docs/function-regions)), `name`, the other `github` keys, `devCommand`, and `builds[].config.maxLambdaSize`.

## Refused keys

The deploy stops and names the key, rather than deploy something that behaves differently from Vercel:

- `builds` with more than one entry, or functions in `api/` in more than one language.
- `skipMiddlewareRequestBody`, `functionFailoverRegions`, `bunVersion`, and `public` (which Vercel dropped too).
- `schedules` that target anything but a `path`.
- In `routes`: `env` (in a route or a transform), `locale`, `middlewarePath`, and `handle: rewrite` or `resource`.
- Function settings other than the ones listed above.
- Keys that don’t fit the project: `fluid` on a static site, `outputDirectory` on an API.
