If set to true, allows node to crash via thrown exceptions If set to false (or unset), thrown exceptions are swallowed and logged automatically
Whether we should auto handle 404s
true
Whether we should auto handle options
true
Auto start cloudflared?
TCP backlog for the underlying server
511
The host address to bind to
0.0.0.0 (all)
The bind port for the server
440 if ssl, 80 if non-ssl
Body size limit in Megabytes (MB)
Whether compression should be enabled by default
true
The CORS domain name to report in requests
* (all)
Optional
enableWhether we enable the content security policy header by default
false
Optional
helmetHelmet module options
Optional
recommendedWhether we should return the default list of recommended headers with every request
true
Optional
requestWhether we should log requests to file/console
Note: if set to full
then the headers are also logged as well as the request body (if POST/PATCH/PUT)
false
Optional
sessionsWhether we enable session support
Note: At a minimum, a secret must be supplied if options are specified
Whether SSL should be enabled
Note: 'devcert' is only suitable for test systems as it will prompt to install a Root CA on the host for testing purposes only
false
Optional
sslThe SSL certificate file and/or data.
Note: If a string is specified, a full path is expected
Optional
sslThe SSL hostname(s) we should use when creating our devcert
Note: 'localhost' is always included
<empty>
Optional
sslThe SSL private key file and/or data
Note: If a string is specified, a full path is expected
Optional
websocketsWebSocket server options
Web Application Options