I have been playing with nginx and I encountered a problem: upstream backend_hosts { server server1.example.com server server2.example.com } server { listen 80; location / { proxy_pass http://backend_hosts; proxy_set_header Host $name_of_current_upstream (eg. if proxy pass is server1.example.com then the host header would be server1.example.com)by neco - Ideas and Feature Requests