Question
What's needed for HTTP->HTTPS redirect in load balancer?
I’m using a couple of load balancers in front of my droplets and I only want to allow HTTPS traffic to the LB. There’s an option in the load balancer to “Redirect HTTP to HTTPS” that supposedly should redirect all calls on the 80 port on the load balancer to port 443?
This doesn’t seem to work as I get a “connection refused on port 80” when I access the droplet through the loadbalancer over http.
Is there some additional configuration needed for this redirect to work?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×