mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Merge pull request #1850 from atmire/use-x-forwarded-for-redirect
Use values from x-forwarded headers in getOrigin server side
This commit is contained in:
@@ -39,7 +39,10 @@ export class DefaultAppConfig implements AppConfig {
|
||||
rateLimiter: {
|
||||
windowMs: 1 * 60 * 1000, // 1 minute
|
||||
max: 500 // limit each IP to 500 requests per windowMs
|
||||
}
|
||||
},
|
||||
|
||||
// Trust X-FORWARDED-* headers from proxies
|
||||
useProxies: true,
|
||||
};
|
||||
|
||||
// The REST API server settings
|
||||
|
Reference in New Issue
Block a user