From 938d5f804c31863b8c27b3bab4477e78d1472250 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 10 Nov 2024 06:39:46 +0100 Subject: [PATCH] trust proxy --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index b5bbe7a..a5679c8 100644 --- a/server.js +++ b/server.js @@ -134,7 +134,7 @@ app.locals.created = 0 app.locals.updated = 0 app.disable('x-powered-by') app.set('json spaces', 2) -app.set('trust proxy', true) +app.set('trust proxy', 1) logger(app) app.use(rateLimit({ windowMs: 1 * 60 * 1000, // 1 minutes