How to Configure an HTTP Proxy
- Define proxy values:
- Edit the config/feedback-server.properties file.
- Set the following
values:
# The hostname of the HTTP proxy server http.proxyHost # The port number of the HTTP proxy server, property is optional and defaults to 80 if not provided http.proxyPort # Set HTTP proxy, by default true http.proxySet=true # The hostname of the HTTPS proxy server https.proxyHost # The port number of the HTTPS proxy server https.proxyPort # Set HTTPS proxy, by default true https.proxySet=true # The hostname of the SOCKS proxy server socksProxyHost # The port number of the SOCKS proxy server socksProxyPort
- Pass the proxy value using JVM
arguments:Example:
./bin/start.sh -Dhttp.proxyHost=<http-host> -Dhttp.proxyPort=<http-port> -Dhttp.proxySet=true -Dhttps.proxyHost=<https-host> -Dhttps.proxyPort=<https-port> -Dhttps.proxySet=true
You would use start.sh for Linux or start.bat for Windows.