Re: duplicate upstream server marked as down

2017-10-09 Thread Anton Yuzhaninov
On 10/03/17 14:00, halfpastjohn wrote: > Can i have two, identical, server hostnames in an upstream, with one of them > marked as "down"? Like this: > > resolver 10.0.0.8; > > upstream backend { > server backend.example.com down resolve; > server backend.example.com/api/v2/; > } server in

duplicate upstream server marked as down

2017-10-03 Thread halfpastjohn
Can i have two, identical, server hostnames in an upstream, with one of them marked as "down"? Like this: resolver 10.0.0.8; upstream backend { server backend.example.com down resolve; server backend.example.com/api/v2/; } The reason being is that i need to route to the second one (with