Setup for one service without host header

Hello,
I am trying to setup kong to forward requests to a service, however i would like to be able to match a service/route without the host header, because i will have only one service to be proxied and we don’t want to force the api users to put this header at each request.
Is there a way to define a fallback service, or identify a route/service without the host header?
Thanks!

2 Likes

Sure, just don’t specify hosts in route or api.

2 Likes

Thanks, in fact i was under the impression that hosts is mandatory :slight_smile:

1 Like

This question help me!! :joy:


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ