add useProxies config to support x-forwarded headers in express

This commit is contained in:
Art Lowel
2022-09-28 13:10:46 +02:00
parent 241816e836
commit 941e71a75b
5 changed files with 16 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ export const environment: BuildConfig = {
rateLimiter: {
windowMs: 1 * 60 * 1000, // 1 minute
max: 500 // limit each IP to 500 requests per windowMs
}
},
useProxies: true,
},
// The REST API server settings.