How to setup pfSense haproxy http-to-https redirect

Setting up HAProxy HTTP-to-HTTPS redirect is pretty simple:

This will redirect any incoming request on this frontend to HTTPS. Since this frontend is only listening to HTTP, it will redirect all HTTP requests to HTTPS.