pregmatch
By:
pregmatch

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

October 23, 2017 162 views
Load Balancing Debian

Hi,

  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.

1 Answer

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 superdevop.com any time

Have another answer? Share your knowledge.