mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
add useProxies config to support x-forwarded headers in express
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user