KrakenD子域
krakenJS >= v0.1.0子域路由支持和配置中间件。
===
##配置
例子
"subdomain": {
"enabled": true,
"module": {
"name":"path:./lib/subdomain",
"arguments": [
["api", "mobile"],
"subdomains",
"path:./.build"
]
}
},
"module" : Config options [Required]
"name" : Path to module [Required]
"arguments" : Array of options [Required]
"arguments[0]" : An array of subdomains registered to the