Skip to content

Routing by hostname with port #4

@ehpc

Description

@ehpc

I suppose the behavior for routing by hostnames may be wrong.

Imagine we have a gateway with hostname: "app.localhost" and httproute with hostnames: - "app.localhost".

All 3 variants should work as far as I know, because they work with Traefik for example.

  1. curl http://app.localhost:31080 -H "Host: app.localhost" is OK
  2. curl http://app.localhost:31080 is NOT FOUND
  3. `curl http://app.localhost:31080 -H "Host: app.localhost:31080" is NOT FOUND

Right now I can't open http://app.localhost:31080 in my browser because it adds the Host: app.localhost:31080 header like in example 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions