Skip to content

Route to external host without port? #2341

@popfendi

Description

@popfendi

I love the simplicity of this tool, and am currently using it to route requests to my static site and api hosted on the same server.
However i'd like to also route traffic to a Object storage bucket which has the url pattern https://eu2.contabostorage.com/access-key:bucket-name/filename.jpg

I'm having trouble routing from mysite.com/images/filename.jpg as the NPM dashboard wont allow for a hostname with no port.

When I add port 443 for example the url is https://eu2.contabostorage.com/access-key:bucket-name/:443

Is there any solution for routing to an external domain like this? I need to be able to pass the filename as a path variable too.

Many Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions