Important
When the reverse proxy is enabled, the API calls from agent to Controller fail because API calls need the host header to know the domain to which calls are made. Enabling reverse proxy masks the Controller hostname which results in the 503 Service Unavailable
error. To fix this issue, the agent adds the host header to the request derived from the accountName
of Controllers that has the reverse proxy enabled.