As soon as I uncomment '# proxy_set_header Host $host;' line it stops working. All other headers don't matter Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254615,254616#msg-254616