add proper http headers when proxying with nginx
Merge pull request #34 from opdemand/fix-nginx-headers

LGTM.