Enhancement Proposal
The current HAProxy charm configuration performs TLS termination at the frontend but communicates with backend services using plain HTTP. This creates compatibility issues with services that require HTTPS connections (like Vault), resulting in the error: "Client sent an HTTP request to an HTTPS server."
I had to add check ssl verify none in the backend configuration part in haproxy.cfg for it to work.
Could you please modify the template to account for such cases?