9 lines
236 B
Text
9 lines
236 B
Text
<%
|
|
if @http_proxy
|
|
http_proxy_host, http_proxy_port = http_proxy.split(":")
|
|
http_proxy_port = "80" if http_proxy_port.nil?
|
|
-%>
|
|
[global]
|
|
http-proxy-host = <%= http_proxy_host %>
|
|
http-proxy-port = <%= http_proxy_port %>
|
|
<% end -%>
|