Question

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

Posted April 3, 2017 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.

×
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!!

Submit an Answer