Also, Isn't this a bug since I have added server_names to valid_referers? And since server_names knows the domain, it should work... Any ideas? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239318,239343#msg-239343