Dear Forum,
I have a VPS with static IP and no DNS-name, using it for load-balancing three web-sites. OS is Debian-6 with standard nginx 0.7.67.
It works pretty well, just sometimes nginx returns the hostname of the VPS, which is localhost.localdomain. This is ofcourse not very useful :)
It mostly happens when I do something like this:
12.34.56.78/site (contains the index.html)
and then manually change the adress in the browser to:
12.34.56.78/site/bin (contains perl scripts)
now nginx rewrites the address to localhost.localdomain/site/bin
Is there a command to make nginx always return the IP instead of local hostname, when acting as load balancer?
Or is this fixed in newer versions?
Thanks for any pointers to FAQs or other Threads.
Regards,
Ulrich