Skip to content

Subdomain matching as well as url/path? #12

@tedkornish

Description

@tedkornish

Hey there! Is it possible to check for and proxy a request subdomain match as well as a match to a specific path? I've got my grunt server command set to open app.lvh.me:9000 - with lvh.me redirecting to localhost - and I'm querying a rails API on localhost:3000 at api.lvh.me:9000.

The goal is to redirect api.lvh.me:9000 to localhost:3000.

Is this functionality included right now? If not, I'd be happy to build it in and submit a pull request.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions