Nginx and HAproxy – PR_END_OF_FILE_ERROR

I recently switched over an Nginx server so that it was being accessed via an HAproxy tcp connection that was now sending proxy protocol information. When I did this I started to get PR_END_OF_FILE_ERROR issues from my browser. While it seems simple, the fix is to ensure that your nginx listener has the proxy_protocol configuration set.

For reference, below is my HAproxy backend configuration.

Leave a Comment

Your email address will not be published. Required fields are marked *