Setting up reverse proxy for ActiveGate
ActiveGates in certain DESK deployments must connect to the Managed cluster via a reverse proxy. For communication from the Managed cluster back to the ActiveGate via the reverse proxy, you must tell the ActiveGate to ignore the Managed cluster address and instead use the provided address of the reverse proxy.
To configure a reverse proxy for ActiveGate:
Stop the ActiveGate and edit the custom.properties
file.
If the properties are set, remove or comment out the proxy-server
, proxy-port
, and proxy-scheme
parameters.
The listed proxy parameters in the [http.client]
section should be used only in a forward proxy scenario.
To tell the ActiveGate to ignore information from the Managed cluster, add or modify the ignoreClusterRuntimeInfo
parameter in the [connectivity]
section of the custom.properties
file:
[connectivity]
ignoreClusterRuntimeInfo = true
Give the ActiveGate the address of the reverse proxy. Add the seedServerUrl
parameter in the [collectors]
section of the custom.properties
file in the following format:
seedServerUrl = https://<REVERSE_PROXY>:<REVERSE_PROXY_PORT>/communication
For example:
[collectors]
seedServerUrl = https://my.reverse-proxy.com:443/communication
Save the custom.properties
file and restart the ActiveGate.