next.js
937254ed - Add `serverActions.allowedForwardedHosts` option (#57529)

Commit
2 years ago
Add `serverActions.allowedForwardedHosts` option (#57529) This new option specifies a list of host names that are considered safe, to accept as Server Action requests if they're different from the initial request origin. It can be very helpful when the hosted app has many layers of reverse proxies ahead. Closes #57397.
Author
Parents
Loading