Optional
assets?: AssetsConfigIt serves assets with the serve-static module like ExpressJS.
Optional
http2?: booleanUse HTTP2 server (experimental)
false
Optional
httpHTTP Server Timeout
null
Optional
internalSpecial char for internal services
Note: RegExp
type is not official
"~"
"~" => /~node/~action => /$node/~action
/[0-9]+/g => /01234demo/hello2021 => /demo/hello `(not official)`
Optional
ip?: stringExposed IP
process.env.IP || "0.0.0.0"
Optional
log4XXResponses?: booleanIf set to true, it will log 4xx client errors, as well
false
Optional
logLog each request (default to "info" level)
"info"
Optional
logLog the request ctx.params (default to "debug" level)
"debug"
Optional
logLog each response (default to "info" level)
"info"
Optional
logLog the response data (default to disable)
null
Optional
logLog the route registration/aliases related activity
"info"
Optional
optimizeOptimize route order
true
Optional
path?: stringGlobal path prefix
Optional
port?: numberExposed port
process.env.PORT || 3000
Optional
qsOptions passed on to qs
Optional
rootCallOption for the root action api.rest
null
Optional
routes?: MoleculerWebTypes.ApiRouteSchema[]Gateway routes
[]
Optional
server?: booleanUsed server instance. If null, it will create a new HTTP(s)(2) server
If false, it will start without server in middleware mode
true
for extra setting's keys