aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/templates/http-proxy-conf.j2
blob: 854ddfe090ff6936679c11e5a4d12e4084e5bf6e (plain)
1
2
[Service]
Environment={% if "http_proxy" in proxy_env %}"HTTP_PROXY={{ proxy_env.http_proxy }}" {% endif %}  {% if "https_proxy" in proxy_env %}  "HTTPS_PROXY={{ proxy_env.https_proxy }}" {% endif %}  {% if "http_proxy" in proxy_env or "https_proxy" in proxy_env %}  "NO_PROXY=localhost,127.0.0.0/8" {% endif %}