pskout
By:
pskout

Can i add a header to Digital Ocean's Load Balancer?

April 3, 2017 319 views
Load Balancing DigitalOcean Ubuntu 16.04

Hello ,

We have recently acquired a Digital Oceans Load Balancer for our Tomcat projects and we would like to use the SSL termination on the Load Balancer but it is required for us to add a header.
Is that possible ??

2 Answers

@pskout
Currently that's not possible. The Load Balancer does not allow advanced features, so if you need something like that, then it might be better to setup a load balancer yourself.
You can find tutorials on setting up HAProxy or Nginx here:
https://www.digitalocean.com/community/tutorials/how-to-implement-ssl-termination-with-haproxy-on-ubuntu-14-04
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-load-balancing-with-ssl-termination

by Mitchell Anicas
HAProxy, which stands for High Availability Proxy, is a popular open source software TCP/HTTP Load Balancer and proxying solution. In this tutorial, we will go over how to use HAProxy for SSL termination, for traffic encryption, and for load balancing your web servers. We will also show you how to use HAProxy to redirect HTTP traffic to HTTPS. Native SSL support was implemented in HAProxy 1.5.x, which was released as a stable version in June 2014.

Hey hansen,
Thank you for your fast reply!!

Have another answer? Share your knowledge.