Optional
aborttrue
Optional
autoIf enabled, logs will be automatically flushed and buffer detached when application initialization process either completes or fails.
true
Optional
bodyWhether to use underlying platform body parser.
Optional
bufferIf enabled, logs will be buffered until the "Logger#flush" method is called.
false
Optional
corsCORS options from CORS package
Optional
forceForce close open HTTP connections. Useful if restarting your application hangs due to keep-alive connections in the HTTP adapter.
Optional
httpsSet of configurable HTTPS options
Optional
loggerSpecifies the logger to use. Pass false
to turn off logging.
Optional
previewWhether to run application in the preview mode. In the preview mode, providers/controllers are not instantiated & resolved.
false
Optional
rawWhether to register the raw request body on the request. Use req.rawBody
.
Optional
snapshotWhether to generate a serialized graph snapshot.
false
Whether to abort the process on Error. By default, the process is exited. Pass
false
to override the default behavior. Iffalse
is passed, Nest will not exit the application and instead will rethrow the exception.