mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
* Initial implementation of keep-host argument * Add keep-host parsing to the consulcatalog provider * Update docs * update from the current master --------- by @ffix
8 lines
462 B
YAML
8 lines
462 B
YAML
default:
|
|
- {route: "^/api/svc1/(.*)", dest: "http://127.0.0.1:8080/blah1/$1"}
|
|
- {route: "/api/svc3/xyz", dest: "http://127.0.0.3:8080/blah3/xyz", "ping": "http://127.0.0.3:8080/ping"}
|
|
- {route: "/web/", dest: "/var/web", "assets": yes, "keep-host": yes, "remote": "192.168.1.0/24, 124.0.0.1"}
|
|
- {route: "/web2/", dest: "/var/web2", "spa": yes, "keep-host": no}
|
|
srv.example.com:
|
|
- {route: "^/api/svc2/(.*)", dest: "http://127.0.0.2:8080/blah2/$1/abc"}
|