Skip to content

Commit 3afc777

Browse files
gaearonicyJoseph
andauthored
Remove Vercel mention from Next.js docs (#86801)
I think overall it's not appropriate to add Vercel-specific caveats to these guides because they make it look like they're upselling Vercel. I've edited to emphasize the self-hosting condition instead, from which one should be able to infer it doesn't apply to Vercel. Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
1 parent 907e1b6 commit 3afc777

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/01-app/02-guides/data-security.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,12 @@ However, for this to happen, the captured variables are sent to the client and b
397397
398398
### Overwriting encryption keys (advanced)
399399

400-
When self-hosting your Next.js application across multiple servers, each server instance may end up with a different encryption key, leading to potential inconsistencies.
400+
When **self-hosting** your Next.js application across multiple servers, each server instance may end up with a different encryption key, leading to potential inconsistencies.
401401

402402
To mitigate this, you can overwrite the encryption key using the `process.env.NEXT_SERVER_ACTIONS_ENCRYPTION_KEY` environment variable. Specifying this variable ensures that your encryption keys are persistent across builds, and all server instances use the same key. This variable **must** be AES-GCM encrypted.
403403

404404
This is an advanced use case where consistent encryption behavior across multiple deployments is critical for your application. You should consider standard security practices such key rotation and signing.
405405

406-
> **Good to know:** Next.js applications deployed to Vercel automatically handle this.
407-
408406
### Allowed origins (advanced)
409407

410408
Since Server Actions can be invoked in a `<form>` element, this opens them up to [CSRF attacks](https://developer.mozilla.org/en-US/docs/Glossary/CSRF).

0 commit comments

Comments
 (0)