We like all the requests go to URL 1 until URL 1 is down and then it will call to URL 2. There is any option to WEIGHT for every URL?
Thanks
We like all the requests go to URL 1 until URL 1 is down and then it will call to URL 2. There is any option to WEIGHT for every URL?
Thanks
Which version of Caddy are you using?
I’m using Caddy Version 1
Yep, use the first
load balancing policy:
policy first
inside your proxy directive.
(v2 can do this too. JSON Config Structure - Caddy Documentation)
Amazing! thx!
This topic was automatically closed after 180 days. New replies are no longer allowed.