{ "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" }] } }, "cache": { "type": "redis", "host": "localhost", "port": 6379, "username": "", "password": "", "database": "0", "routeTtl": 300, "responseTtl": 300 } }