I have pfsense running HAProxy serving my website on port 443… Certs are all fine etc but for some reason, you have to specifically put https:// in browser to access my site. Just putting the domain.co.uk doesn’t work.
I presume this is a setting somewhere in HA but I cant seem to find it!
How did that cure it? I am banging my head against the wall. No solution seems to make a difference for me.
HTTPS in the url works just fine, but redirection does not happen. At least, I think it is not happening. Hard to tell these days when browsers tend to do this for you. Using incognito modes or privacy browsers like duckduckgo will not redirect.
Oh man! So, I finally figured out the problem. You were correct from the beginning.
The problem had nothing to do with my setup. My ISP decided to up and block port 80 all of a sudden without telling me. I figured this out by going back to basics. I started up a simple webserver that listened to port 80 and just forwarded directly to that server. Worked on most every other port except 80. Spent 3 hours on the phone with my ISP to get this fixed.
All works now.
I really appreciate the help. I did learn a few things along the way, so not a total waste of time.
I have ssl for example.com not for *.example.com and also one frontend:80 and frontend:443. I had to make ssl for wildcard as well or only A record www to domain. I want when someelse type www.example.com to redirert to https://www.example.com.