diff --git a/templates/10-caching-proxy.sh.j2 b/templates/10-caching-proxy.sh.j2 index c1eab35..7301f46 100644 --- a/templates/10-caching-proxy.sh.j2 +++ b/templates/10-caching-proxy.sh.j2 @@ -3,5 +3,5 @@ export {{ proto }}="{{ proxy_env.http_proxy }}" {% endfor %} {% endif %} -export no_proxy="{% for target in no_proxy_targets %}{{ target }}{% if not loop.last %},{% endfor %}" -export NO_PROXY="{% for target in no_proxy_targets %}{{ target }}{% if not loop.last %},{% endfor %}" +export no_proxy="{% for target in no_proxy_targets %}{{ target }}{% if not loop.last %},{% endif %}{% endfor %}" +export NO_PROXY="{% for target in no_proxy_targets %}{{ target }}{% if not loop.last %},{% endif %}{% endfor %}"