Sorry for the above post. Actually the problem is not due to nginx.
It is due to IIS 7.5 in our staging server which is causing the problem.
Below configuration change in web.config has fixed it.
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
Thanks,
Venkat.