Change nginx url while master is down