I am using outbound proxy for Bitbucket DC for external network, while bypassing proxy for internal network with below option in the _start-webapp.sh
-Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*
OR
-Dhttp.nonProxyHosts=\"localhost|127.0.0.1|192.168.*.*\"
However, when i was testing connection in wehbook plugin, both localhost and 127.0.0.1 are working and bypassing proxy, while 192.168.x.x server is not reachable . So this seems like ignored by webhook.
Then if I use below option instead, then it works with bypassing proxy.
-Dhttp.nonProxyHosts=192.168.1.2
Anyone has any resolution on this or encountered before on how to setup multiple target ip addresses ?
-Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*