This thread might be helpful to you. I'm not that adept in Nginx, but I may be able to help if you post your configuration.