Add TRUST_PROXY env var for reverse-proxy deployments

Fixes express-rate-limit's ERR_ERL_UNEXPECTED_X_FORWARDED_FOR warning
and incorrect IP keying when nginx runs on a separate server in front
of the app.
This commit is contained in:
2026-08-26 14:36:51 +02:00
parent 2dfe8d32c4
commit fbb84b037c
7 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "event-management-backend",
"version": "1.9.3",
"version": "1.9.4",
"description": "Event Management System Backend",
"main": "src/index.js",
"scripts": {