Configure an agent to connect to Moderne via an HTTP proxy

If your organization requires an HTTP proxy in order to be able to access the public internet, you can configure this proxy for communication between the Moderne Agent and the Moderne API Gateway.

This proxy will be used for egress, and then the API gateway will establish the Layer 7 connection with the Moderne Agent through which all further communication will pass.

Agent configuration

The following table contains all the variables/arguments you need to add to your Moderne Agent run command to work with your HTTP proxy. Please note that these variables/arguments must be combined with ones found in other steps in the Configuring the Moderne agent guide.

Variables:

  • MODERNE_AGENT_APIGATEWAY_PROXY_HOST - Host (without scheme) for proxy server

  • MODERNE_AGENT_APIGATEWAY_PROXY_PORT - Port for proxy server

If you include either a host or port, you must include both.

Example:

docker run \
# ... Existing variables
-e MODERNE_AGENT_APIGATEWAY_PROXY_HOST=proxy.mycompany.com \
-e MODERNE_AGENT_APIGATEWAY_PROXY_PORT=8179 \
# ... Additional variables

Last updated