IMidwayKoaConfigurationOptions
Hierarchy
- IConfigurationOptions
- IMidwayKoaConfigurationOptions
Index
Properties
optionalappLogger
optionalca
optionalcert
https cert
optionalcontextLoggerApplyLogger
optionalcontextLoggerFormat
optionalglobalPrefix
http global prefix
optionalhostname
application hostname, 127.0.0.1 as default
optionalhttp2
http2 support
optionalkey
https key
optionalkeys
cookies sign keys
optionallogger
optionalmaxIpsCount
Max IPs read from proxy IP header, default to 0 (means infinity)
optionalport
application http port
optionalproxy
Trust proxy headers
optionalproxyIpHeader
Proxy IP header, defaults to X-Forwarded-For
optionalqueryParseMode
qs mode
optionalqueryParseOptions
qs options
optionalserverOptions
optionalserverTimeout
server timeout in milliseconds, default to 2 minutes.
for special request, just use ctx.req.setTimeout(ms)
optionalsubdomainOffset
Subdomain offset
https ca