Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 711 Bytes

proxy.adoc

File metadata and controls

22 lines (17 loc) · 711 Bytes

Proxy Configuration

Swarm uses the default ProxySelector, which supports customization of the HTTP client through system properties. Use the following system properties to configure a proxy:

  • http.proxyHost

  • http.proxyPort

  • https.proxyHost

  • https.proxyPort

  • http.nonProxyHosts

For example:

$ java \
    -Dhttp.proxyHost=127.0.0.1 \
    -Dhttp.proxyPort=3128 \
    -jar swarm-client.jar

For more information about these properties, see the Java documentation.