HAProxy closing connections too soon for my application?

Hello,

I have a web service I am trying to access via HAProxy.

The web service requires upwards of 30 minutes to process a file. If I connect via the local ip address and http there is no problem.

If I connect via HAProxy, when it finishes processing it does not feed back to the browser. It uses a POST function to do so.

My HAProxy is set up with PFSense. A shared frontend and then ACL for different domains.

Can anyone offer advice? Here is the config for the shared frontend.

Type: HTTPS offloading. 
name: Strict-Transport-Security, fmt: max-age=15768000
http-request header set 

Use "httpclose" option
http-keep-alive (default)

Advanced ssl options
no-sslv3 no-tlsv10 no-tlsv11 no-tlsv12 no-tls-tickets

Advanced certificate specific ssl options
alpn h2,http/1.1