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

Posted April 3, 2017 3.2k views
DigitalOceanLoad BalancingUbuntu 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 ??

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.

Submit an Answer
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!!