diff --git a/src/main.ts b/src/main.ts index 7578e51d..99b781e4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -67,6 +67,7 @@ async function bootstrap() { logger: getNestJSLogLevels(), httpsOptions: httpsOptions, bufferLogs: true, + forceCloseConnections: true, }); app.useLogger(app.get(NestJSPinoLogger));