vegvisir/vegvisir.json

33 lines
876 B
JSON
Raw Normal View History

{
"server": {
"address": "127.0.0.1",
"port": 8080
},
"backends": {
"news-app": {
"prefixUrl": "news/",
"backendAddress": "http://127.0.0.1:3030",
"routes": [{
"pattern": "new/(.*)",
"target": "$1"
},{
"pattern": "new1/(.*)/([0-9]*)",
"target": "new-url1/$1/$2"
},{
"pattern": "(.+)",
"target": "url"
}]
},
"article-app": {
"prefixUrl": "art/",
"backendAddress": "http://127.0.0.1:3030",
"routes": [{
"pattern": "art1/(.*)",
"target": "art-url1/$1"
},{
"pattern": "([a-zA-Z0-9]*)",
"target": "article-global/$1"
}]
}
}
}