Trust loopback proxy
This commit is contained in:
parent
eb935bf52a
commit
74dac9b314
@ -17,6 +17,9 @@ export default class ExpressAppComponent extends ApplicationComponent<void> {
|
||||
this.server = app.listen(this.port, 'localhost', () => {
|
||||
Logger.info(`Web server running on localhost:${this.port}.`);
|
||||
});
|
||||
|
||||
// Proxy
|
||||
app.set('trust proxy', 'loopback');
|
||||
}
|
||||
|
||||
public async init(router: Router): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user