Skip to content

Commit

Permalink
Add trust proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortovoxx committed Mar 5, 2024
1 parent 18b0619 commit 97e9762
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/payload/payload.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,7 @@ export default buildConfig({
}),
formBuilder({}),
],
rateLimit: {
trustProxy: true,
},
})

0 comments on commit 97e9762

Please sign in to comment.