hyperioxx / frontman

Frontman is an open-source API gateway written in Go that allows you to manage your microservices and expose them as a single API endpoint. It acts as a reverse proxy and handles requests from clients, routing them to the appropriate backend service.

Home Page:https://frontman-labs.github.io/frontman/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multiple paths in a service

nonsoike opened this issue · comments

It will be nice to support multiple paths rather than just a single path per service.

For example, the following:

- name: myservice_v1
  upstreamTargets:
    - http://myservice:7003
  path: /countries
  stripPath: false

- name: myservice_v2
  upstreamTargets:
    - http://myservice:7003
  path: /v2/countries
  stripPath: false

can be changed to:

- name: myservice
upstreamTargets:
  - http://myservice:7003
paths:
  - /countries
  - /v2/countries
stripPath: false

@Frontman-Labs/core-team @Frontman-Labs/contributor Thoughts ?

@nonsoike Are you familiar with industry-level use cases of this? if so this could be a good feature