A developer cannot reach the web application behind an NGINX load balancer. The developer sends a request to an application FQDN with cURL but gets an HTTP 502 response. Which action solves the problem?
A.
Fix errors in the server configuration, which is behind the load balancer.
B.
Bring up the load balancer to the active state.
C.
Fix errors in the cURL request sent by the client.
D.
Change the default gateway on the load balancer to an active one.
An HTTP 502 Bad Gateway error indicates that the server acting as a gateway or proxy received an invalid response from the upstream server. This suggests there may be an issue with the configuration or availability of the server behind the load balancer.
HTTP 502 Error: This error occurs when the load balancer or gateway receives an invalid response from the backend server.
Server Configuration: The issue is likely due to misconfiguration or problems with the backend server that needs to be resolved.
Option A is correct as it identifies that the issue lies with the server configuration behind the load balancer.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit