I’ve been searching the docs and forum high and low.
How does one create a simple load balancer for a reverse proxy.
myurl.com {
proxy /staging 10.0.0.1 {
transparent
}
}
So I want to add 10.0.0.2 etc to the /staging endpoint and loadbalance between the two.
matt
(Matt Holt)
2
Did you see the proxy docs? https://caddyserver.com/docs/proxy - does that page answer your question at all? (The examples section maybe?)
1 Like
matt
(Matt Holt)
3
Just add the second host to the end of the proxy line, after the first one.
1 Like
Thank you very much, sorry I didn’t see it under the plugins before.
matt
(Matt Holt)
5
You’re welcome - hope that helps.
system
(system)
Closed
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.