I want to set up nonProxyHosts
through System properties.
I want all the HTTP URLS to be accessed directly except two URLS. For this, instead of configuring all the host names for nonProxyHosts
, which is risky
Can I configure this through a regular expression which gives all URLS minus the URLS that are to be proxied
.
Can my regex be something like this?
http.nonProxyHosts=[^*host1*]|[^*host2*]
host1
andhost2
which you use to pass innonPoxyHost
? any method to choose one? that part is little confusing for mehost
in one string and you have to divide them separate