From 0b9e7ddac0355c01fa2cb7a425b9ca4fc2132cf1 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 16 Apr 2022 14:41:30 +0200 Subject: [PATCH] [fix] Removed vegvisir.json --- .gitignore | 2 ++ vegvisir.json | 43 ------------------------------------------- 2 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 vegvisir.json diff --git a/.gitignore b/.gitignore index e895468..4e87263 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +.idea/ + vegvisir.json *.prof diff --git a/vegvisir.json b/vegvisir.json deleted file mode 100644 index d1b86d6..0000000 --- a/vegvisir.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "server": { - "address": "127.0.0.1", - "port": 8080 - }, - "backends": { - "news-app": { - "prefixURL": "news/", - "backendAddress": "http://172.17.0.1:3030", - "routes": [{ - "pattern": "new/(.*)/([0-9]*)", - "target": "new-url/$1/$2" - },{ - "pattern": "new/(.*)", - "target": "$1" - },{ - "pattern": "(.+)", - "target": "url" - }] - }, - "article-app": { - "prefixURL": "art/", - "backendAddress": "http://172.17.0.1:3030", - "routes": [{ - "pattern": "art1/(.*)", - "target": "art-url/$1" - },{ - "pattern": "([a-zA-Z0-9]*)", - "target": "art-global/$1" - }] - } - }, - "cache": { - "type": "redis", - "host": "localhost", - "port": 6379, - "username": "", - "password": "", - "database": "0", - "routeTTL": 10, - "responseTTL": 10 - } -} \ No newline at end of file