From 5c5de8d8ed6af68c2f3d8a31b00348df1f8e5c02 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 3 Jul 2020 16:56:49 +0200 Subject: [PATCH] Do not set the non proxy hosts in the java variable. --- templates/10-java-caching-proxy.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/10-java-caching-proxy.sh.j2 b/templates/10-java-caching-proxy.sh.j2 index 5b6a21c..71c4227 100644 --- a/templates/10-java-caching-proxy.sh.j2 +++ b/templates/10-java-caching-proxy.sh.j2 @@ -1 +1 @@ -export JAVA_OPTS='-DproxySet=true -Dhttp.proxyHost={{ env_proxy_http_host }} -Dhttp.proxyPort={{ env_proxy_http_port }} -Dhttps.proxyHost={{ env_proxy_http_host }} -Dhttps.proxyPort={{ env_proxy_http_port }} -Dhttp.nonProxyHosts="{% for noproxy_h in no_proxy_targets %}{{ noproxy_h }}{% if not loop.last %}|{% endif %}{% endfor %}" $JAVA_OPTS' +export JAVA_OPTS="-DproxySet=true -Dhttp.proxyHost={{ env_proxy_http_host }} -Dhttp.proxyPort={{ env_proxy_http_port }} -Dhttps.proxyHost={{ env_proxy_http_host }} -Dhttps.proxyPort={{ env_proxy_http_port }} $JAVA_OPTS"