Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two endpoins with same listenpath but different hosts #408

Open
crdil opened this issue Aug 10, 2019 · 1 comment
Open

Two endpoins with same listenpath but different hosts #408

crdil opened this issue Aug 10, 2019 · 1 comment

Comments

@crdil
Copy link

crdil commented Aug 10, 2019

I wonder if it should be possible to add two endpoints which have the same listen path "/" but listen on different hosts? for example the first endpoint listens on "example.org" and the second on "example1.org". As of now it doesn't seem possible?

@Leonardo-Ferreira
Copy link

on #478 I proposed that this is a bug. You should not be able to add duplicated apis or endpoints for that matter. The current behavior is to override top->bottom on the declaration. If you wish you have the same path on 2 backends, the closest you can get is to set them as backend and round-robin on them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants