Remove proxy_set_header Host $host; from server_3, it is giving server_2 the wrong server name.
proxy_set_header Host $host;
From Richard Smith comment