Localtunnel: how to use vhost?

Created on 22 Aug 2016  路  8Comments  路  Source: localtunnel/localtunnel

how to use my custom vhost? example hcareweb.dev

is this right?

lt --port 80 --local-host hcareweb.dev --subdomain hcareweb

it is redirecting to localhost im using nginx...

Most helpful comment

I think the problem is here https://github.com/localtunnel/localtunnel/blob/master/lib/HeaderHostTransformer.js#L27

The regex need to be case insensitive or 'Host' should be 'host'

I'll make a pull request if I get time.

All 8 comments

Same problem here

Same here

I think the problem is here https://github.com/localtunnel/localtunnel/blob/master/lib/HeaderHostTransformer.js#L27

The regex need to be case insensitive or 'Host' should be 'host'

I'll make a pull request if I get time.

@hartjo but the problem is not solved at all! why this issue is closed?

@vistiyos i solve the problem by editing the file HeaderHostTransformer.js direct from my composer files as @coldlamper suggest temporary but it works thats why i close this issue im sorry not to inform you

@hartjo but it's not solved in the repository, so it shouldn't be closed until some PR solves this problem

@vistiyos if thats the case i will reopen it im sorry peace :+1:

fixed in master

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tayurus picture tayurus  路  3Comments

rm-rf-etc picture rm-rf-etc  路  8Comments

dreki picture dreki  路  21Comments

adrienrn picture adrienrn  路  15Comments

thomas-jones picture thomas-jones  路  20Comments