Load balancers do not redirect 80/443 and says dropplets are down


  1. I have setup redirect from http to https - > not working
  2. I have setup 2 droplets and balancer in front of them to work like redirect from 443 to my app at 9000 port -> not working

I want to run my app on whatever port i want in droplets. I do not want to run it on 80 or 443.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

First thing. you need to do the redirecting not on Load balancer but on Droplet level. second the Digital ocean load balancer does not support HTTP2 which is a game changer.

The load balancer doesnt redirect traffic from https to https but does the translation. customer will still use http and you are sending traffic on https(443) but only to load balancer.

You need to setup a reverse proxy using Nginx with http2 protocol and it will redirect the traffic as well and also does the load balancing on different algorithms. Plus you get the detail log of all instance behind it. It also does the micro cashing and provide a very strong layer of security using it NAXSI module. DOS and DDOS attacks are very common now days.

if you need help in managing your infrastructure you can contact any time