Hello,
I setup a web site that is using Apache and Nginx as a proxy. The web site itself runs fine. I want to access the web site with a SSH tunnel on my laptop. I can create the tunnel by:
Code:
$ ssh -v -N -p 22 www.mueller-public.de -L 2110:127.0.0.1:80
When I point Firefox to the tunnel
http://localhost:2110 then I see only the default Nginx greeting page, what is to expected because the server is using name based virtual domains. So I have installed the Firefox Addon Modify Headers* to modify the Host header. As I can confirm in the access.log the correct Host header is set:
Code:
www.mueller-public.de 127.0.0.1 - - [28/Jan/2014:16:51:28 +0100] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0" "-"
But Nginx is not showing me the
www.mueller-public.de site, it still shows the default greeting page, but it should show me the
www.mueller-public.de site, after all the Addon is correctly modifying the Host header. I was searching, and the Addon should me enough.
I just want to use an SSH tunnel to access the web site. Do I need to modify some different Http header?
*
https://addons.mozilla.org/en-US/fir...odify-headers/