Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

devinfd's avatar

Troubles with Forge Load Balancer

I'm curious if anybody else has tried using a load balancer provisioned by Forge? I've been playing with one for the past few days but I keep have trouble. Specifically each time I set up a domain and point it at the load balancer's ip address all I ever get are 502 Bad Gateway errors.

What are your experiences? Will there be a laracast demo'ing this new feature?

0 likes
8 replies
devinfd's avatar

Yes those articles are great but Forge recently added the ability to provision and manage load balancers itself. So I was trying that out.

olimorris's avatar

Have you tried getting Taylor through the support area of Forge?

devinfd's avatar

No not yet. I didn't want to bother him yet until I had tried asking around first.

fideloper's avatar

Asking support sounds to be in order! That could be an issue on the LB side, or with how the 2 other servers are setup, or with your application's ability to accept requests from a "proxy" (aka the load balancer)! Lots of places to cause that :D

sylvain92's avatar

there have not support ... all my question have never answer

gonza's avatar

@rhand or anybody else looking for some experience, mine is kind of recent but after playing for a while with a forge provisioned load balancer with ok/expected results, we''re now moving all our websites/apps into that architecture.

We're at Linode. Also tried linode load balancing offer, it works quite well actually and it has more functionality in terms of defining how load should be distributed, throttling, health checks, etc, actually I stumbled with this very thread looking to see what I could find on that regard for the forge provisioned. I think it is a more solid solution.

The problem for us was that we use Let's Encrypt for certs, so the ability to define and then have renewals in autopilot is a must, the forge provisioned load balancer server provides this. (*)

We currently use cheapest linode server to load balance 3 web tier servers, we have a mixture of WordPress sites, Laravel apps, static content. Even cheapest load hardly goes over

(*) Linode load balancer has an api, maybe one could see to program the renewal lf certs using the magic of forge and then have them pushed to the balancer, as I understood a balancer can manage several certs.

1 like

Please or to participate in this conversation.