diff --git a/src/main.ts b/src/main.ts index 324eb13..042367e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,8 @@ async function bootstrap() { // Production servers have to be behind a proxy. if (process.env.NODE_ENV === 'production') { - app.set('trust proxy'); + app.set('trust proxy', 1); + app.disable('x-powered-by'); } app.use(