Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Manage Next.js Server Actions in the Vercel Firewall - Vercel

Vercel News·Sage Abraham·4 days ago
#pX9hFjC3
Reading 0:00
15s threshold

The Vercel Firewall and Observability Plus has first-class support for Server Actions.

Starting with Next.js 15.5, customers can now configure custom rules targeting specific server action names. In the example below, you can rate limit app/auth/actions.ts#getUser actions to 100 requests per minute per IP address.

// app/auth/actions.ts

'use server'

export async function getUser(userId: string) {

// ...

}

Server Action Name is available in the Firewall for all plans at no additional cost. Read the docs to learn more.

Read More