mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-23 00:16:25 +01:00
fix: enable trust-proxy
This commit is contained in:
parent
cd25078792
commit
c65f7c27ee
@ -20,7 +20,7 @@ module.exports = function(config) {
|
||||
|
||||
const baseUriPath = config.baseUriPath || '';
|
||||
|
||||
app.set('trust proxy');
|
||||
app.set('trust proxy', true);
|
||||
app.disable('x-powered-by');
|
||||
app.set('port', config.port);
|
||||
app.locals.baseUriPath = baseUriPath;
|
||||
|
Loading…
Reference in New Issue
Block a user