If you run nginx on Windows (for development purproses, for instance), you may often experience 'An existing connection was forcibly closed by the remote host' errors.
To get rid of them, add the following lines to your nginx.conf:
keepalive_timeout 65; keepalive_requests 500; proxy_http_version 1.1;
Simon is IT professional with interests in web design, electronics, photography and astronomy. He writes about PHP, Yii, Joomla!, Arduino and several other topics.