Configure HTTP/ HTTPS Proxy
- Login to your Enterprise Console.
- Select Platform.
- Click the Configuration tab.
- Click Controller Settings > Appserver Configurations > JVM Options.
- Go to the JVM Config section and add the following JVM option to enable the HTTP proxy support for alerting actions.
<jvm-options>-Dappdynamics.alerting.actions.http.enable.proxy=true</jvm-options>
Note: You can also enable the HTTP proxy support for alerting actions at, /private/ControllerFlagsServlet endpoint. You must have admin credentials to enable this option.The HTTP proxy support for alerting actions is disabled by default. - Add the following JVM options to configure the HTTP and HTTPS proxy authentication parameters, namely, host, port, user, and password.
<jvm-options>-Dhttp.proxyHost=$HOST</jvm-options> <jvm-options>-Dhttp.proxyPort=$PORT</jvm-options> <jvm-options>-Dhttp.proxyUser=$USER</jvm-options> <jvm-options>-Dhttp.proxyPassword=$PASSWORD</jvm-options> <jvm-options>-Dhttps.proxyHost=$HOST</jvm-options> <jvm-options>-Dhttps.proxyPort=$PORT</jvm-options> <jvm-options>-Dhttps.proxyUser=$USER</jvm-options> <jvm-options>-Dhttps.proxyPassword=$PASSWORD</jvm-options>
Note: If you want to exclude some domains from being accessed via the proxy, add them as follows:<jvm-options>-Dhttp.nonProxyHosts=localhost|*.abcd.com|xyz.com</jvm-options>
Ensure that you provide a plain text password only. Proxy parameter changes are not hot-swappable. This means that you need to restart the Controller to ensure that the changes are reflected. - Click Save for the changes to take effect and to restart the Controller.