Thank you Francis for pointing the right direction.
If I understand correctly the documentation I should add
proxy_set_header Host $host;
considering I had the upstream server defined by: upstream webservers {
server virt1:80; }
I tried it but had no luck with it, I also tried $http_host; and
$p
Francis,
Thank you very much, your help is always appreciated.
It didn't work in the first place because I also had an include proxy params
statement which overrided the setting you indicated.
Retesting from a very basic configuration proved the solution you offered
worked.
At the end I kept th
Hello,
I have a web server (nginx, iis, apache, whatever) on which I access:
http://1.1.1.1 => displays default page
http://virt1 => displays virtual host 1 (ping virt 1 = 1.1.1.1)
When I access the url virt1 the page of the corresponding virtual host which
is different from when I access the url