"upstream prematurely closed connection while reading response header from upstream" with nginx, PostgreSQL and Mono on Ubuntu MVC4 app "upstream prematurely closed connection while reading response header from upstream" with nginx, PostgreSQL and Mono on Ubuntu MVC4 app nginx nginx

"upstream prematurely closed connection while reading response header from upstream" with nginx, PostgreSQL and Mono on Ubuntu MVC4 app


The problem might be caused from originally disabling the http port and allowing only https. If have not been enabled, try to enable http port, only allow requests through 127.0.0.1. In addition to this also check the "timeout" values in the configuration settings. Hope this helps...