apply these settings to the proxy: keepalive_requests 500; proxy_http_version 1.1; context: http, server, location Version 1.1 is recommended for use with keepalive connections