I have a service that expose port 80. And I link that service in haproxy service. All works fine, until I try to establish SSL termination. Actually, the SSL termination works, but I cannot get the FORCE_SSL setting to work as I expect it to work. With the below configuration (image), I can access https://.com with SSL termination functional as it should. But if I go to http://.com I get connection refused in the browser.
I’m using haproxy service, and have read documentation here:
My service configuration of the service that is linked to haproxy:
Haproxy configuration is 80:80 and 443:443.