tunnelto icon indicating copy to clipboard operation
tunnelto copied to clipboard

host option is not working

Open mihaichitic opened this issue 3 years ago • 0 comments

I create tunnel with: tunnelto --subdomain test --port 443 --scheme https --host local.domain.com --dashboard-port 9443 -v

I have local.domain.com added in /etc/hosts to point to 127.0.0.1. On local I have my app and when I check the HTTP_HOST header is "test.tunneto.dev" and not "local.domain.com". If I test with: curl -H "Host:local.domain.com" https://local.domain.com I see in my app HTTP_HOST=local.domain.com as expected.

Did I miss something, or it's really a bug?

mihaichitic avatar Nov 04 '21 12:11 mihaichitic