Using FlexDeploy to access external services through a proxy
Sometimes it is necessary to use a proxy to access some or all Internet locations. You can use Java proxy settings to accomplish these goals.
Using Proxies with the FlexDeploy Server
To use a proxy with the FlexDeploy Server, you will modify your setenvoverride.sh file.
FLEXAGON_FD_JAVA_ARGS="-Dhttps.proxyHost=<insert_host> -Dhttps.proxyPort=<insert_port> -Dhttp.proxyHost=<insert_host> -Dhttp.proxyPort=<insert_port> -Dhttp.nonProxyHosts='localhost|127.0.0.1' -DsocksProxyHost=<insert_port>
Â
Using Proxies on Endpoints
To use a proxy on an endpoint, you will modify the endpoint’s source script.
In the endpoint source script, add something like the following:
export FLEXAGON_FD_PLUGIN_JAVA_ARGS="-Dhttps.proxyHost=<insert_host> -Dhttps.proxyPort=<insert_port> -Dhttp.proxyHost=<insert_host> -Dhttp.proxyPort=<insert_port> -Dhttp.nonProxyHosts='localhost|127.0.0.1' -DsocksProxyHost=<insert_port>
If you know that you only need http or only https proxy, you can eliminate the other options.
Â
Using Proxies with wget
#http
wget <url> -e use_proxy=yes -e http_proxy=<insert_host>:<insert_port>
#https
wget <url> -e use_proxy=yes -e https_proxy=<insert_host>:<insert_port>
The following macros are not currently supported in the footer:
- style