# Unable to get Load Balancer on DigitalOcean to work with Nakama and SSL

**URL:** <https://forum.heroiclabs.com/t/unable-to-get-load-balancer-on-digitalocean-to-work-with-nakama-and-ssl/5188>\
**Category:** Local Setup\
**Created:** [April 21, 2024, 12:01pm UTC](https://forum.heroiclabs.com/t/unable-to-get-load-balancer-on-digitalocean-to-work-with-nakama-and-ssl/5188 "2024-04-21T12:01:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![3p-live](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/3p-live/32/2147_2.png) [@3p-live](https://forum.heroiclabs.com/u/3p-live)\
**Post date:** [April 21, 2024, 12:01pm UTC](https://forum.heroiclabs.com/t/unable-to-get-load-balancer-on-digitalocean-to-work-with-nakama-and-ssl/5188/1 "2024-04-21T12:01:53Z")

</div>

Has anyone set up Nakama on on DigitalOcean and somehow gotten the SSL to work via their load balancers?

I’m completely stuck on how i am supposed to do this.

I either get a 400 error or a 503 error depending on how i configure the load balancer.

I guess all i need to know if how can I set up the load balancer correctly, and do I need to make any changes to the Nakama settings somehow, and if so, how can I do that.

---

<div class="post-metadata">

**Author:** ![igordias2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/igordias2/32/1596_2.png) [@igordias2](https://forum.heroiclabs.com/u/igordias2)\
**Post date:** [April 23, 2024, 11:50am UTC](https://forum.heroiclabs.com/t/unable-to-get-load-balancer-on-digitalocean-to-work-with-nakama-and-ssl/5188/2 "2024-04-23T11:50:36Z")

</div>

> [@3p-live](#):
>
> I’m completely stuck on how i am supposed to do this.

Hey!  
I use the same settings and It works for me, Nakama Docker on a Droplet that is configured over a Load Balancer to do SSL.  
here is the configuration:

 ![Screenshot 2024-04-23 at 13.46.31](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/3/32258e04273c3241b741eae6323f49a820fccc32.png)

And I just point an A Domain to the Load Balancer IP

---

<div class="post-metadata">

**Author:** ![3p-live](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/3p-live/32/2147_2.png) [@3p-live](https://forum.heroiclabs.com/u/3p-live)\
**Post date:** [April 23, 2024, 12:10pm UTC](https://forum.heroiclabs.com/t/unable-to-get-load-balancer-on-digitalocean-to-work-with-nakama-and-ssl/5188/3 "2024-04-23T12:10:22Z")

</div>

thanks so much this helped a lot!
