Whether we should auto handle 404s
Whether we should auto handle options
Whether we will automatically parse JSON request bodies
Whether we will automatically parse RAW request bodies
Whether we will automatically parse Text request bodies
Whether we will automatically parse URLEncoded request bodies
Whether we will automatically parse XML request bodies
Whether we should return the default list of recommended headers with every request
Whether to automatically start cloudflared tunnel
TCP backlog for the underlying server
Body size limit in MB
Whether compression should be enabled by default
The CORS domain name to report in requests
Helmet module options
The host address to bind to
Defines how request logging is handled.
For true
: High level information of each Request will be logged as debug
to the console/file
For full
: Headers and the Request body (if POST/PATCH/PUT) are also provided in the log entry
For callback: Full log entries are provided to the specified callback method, and the entry will
not be passed to the standard logging facility.
The bind port for the server
Whether we enable session support
Note: At a minimum, a secret must be supplied if options are specified
Whether SSL should be enabled
The SSL certificate file and/or data.
Note: If a string is specified, a full path is expected
The SSL private key file and/or data
Note: If a string is specified, a full path is expected
If set to true, allows node to crash via thrown exceptions If set to false (or unset), thrown exceptions are swallowed and logged automatically
WebSocket server options
Automatic XML body parser handling options
Whether we enable the content security policy header by default