correct the errors in nginx.conf and enable proxy switch in failure -- proxy_next_upstream