I struggled a bit with the configuration of HTTP Proxy, apparently, only some of the Proxy System variables (https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html) are picked up by http-proxy.
Specifically, http.proxyHost and http.proxyPort are working fine but it looks like http.nonProxyHosts is ignored.
I struggled a bit with the configuration of HTTP Proxy, apparently, only some of the Proxy System variables (https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html) are picked up by http-proxy. Specifically, http.proxyHost and http.proxyPort are working fine but it looks like http.nonProxyHosts is ignored.
https://github.com/geosolutions-it/http-proxy/blob/master/src/main/java/it/geosolutions/httpproxy/HTTPProxy.java#L147