Accidentally pasted the headers twice. The config should look like this; http://pastie.org/private/lz9zjkmvd3drbo4ezsp3fg Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237172,237173#msg-237173