I'm having trouble with configuring nginx.
I'm using nignx for reverse porxy. I just want to send my all requests to my first server. But if the first server is down, I want to send requests to second one.
Shortly I want to failover solution without load balancing.
Sorry, I'm new at nginx.