1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-24 08:12:31 +02:00
reproxy/examples/file/reproxy.yml
2021-05-28 16:11:31 -05:00

7 lines
382 B
YAML

default:
- {route: "^/api/svc1/(.*)", dest: "http://127.0.0.1:8081/api/$1","ping": "http://127.0.0.1:8081/health"}
- {route: "/api/svc2", dest: "http://127.0.0.1:8082/api", "ping": "http://127.0.0.1:8082/health"}
localhost:
- {route: "^/api/svc3/(.*)", dest: "http://localhost:8083/$1","ping": "http://127.0.0.1:8083/health"}
- {route: "/www", dest: "web2", "assets": true}