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

April 3, 2017 1.7k 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

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:

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.