vegvisir/vegvisir.json.dist

43 lines
1.1 KiB
Plaintext
Raw Normal View History

{
"server": {
"address": "127.0.0.1",
"port": 8080
},
"backends": {
"news-app": {
2021-08-03 00:13:14 +02:00
"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": {
2021-08-03 00:13:14 +02:00
"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"
}]
}
},
"cache": {
"type": "redis",
"host": "localhost",
"port": 6379,
"username": "",
"password": "",
"database": "0",
2021-08-03 00:13:14 +02:00
"routeTTL": 300,
"responseTTL": 300
}
}