From 841f44fd9d76a5d841bc285f8d7ec2288b1f397c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Ronzon?= Date: Mon, 9 Mar 2026 10:22:49 -0600 Subject: [PATCH] fix(http): use single hop trust proxy to prevent rate limit bypass --- config/env/production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/env/production.js b/config/env/production.js index 0f329d986..a327a03e6 100644 --- a/config/env/production.js +++ b/config/env/production.js @@ -201,7 +201,7 @@ module.exports = { * (https://sailsjs.com/config/http) * * * ************************************************************************** */ - trustProxy: true, + trustProxy: 1, }, /** ************************************************************************