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.
https://frontman-labs.github.io/frontman/
GNU General Public License v3.0
5 stars 0 forks source link

Support multiple paths in a service #93

Open nonsoike opened 1 year ago

nonsoike commented 1 year ago

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
hyperioxx commented 1 year ago

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

amityahav commented 1 year ago

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