You're absolutely right - your config works perfectly for me too. I must have screwed up with some of the other stuff in my nginx.conf. Thanks for your help David