10 lines
290 B
Plaintext
10 lines
290 B
Plaintext
Acquire::http::Proxy "http://<%= @proxy %>:<%= @port %>";
|
|
<% if @proxy_ssl %>
|
|
Acquire::https::Proxy "http://<%= @proxy %>:<%= @port %>";
|
|
<% else %>
|
|
Acquire::https::Proxy "DIRECT";
|
|
<% end %>
|
|
<% @bypass.each do |bypass, type| %>
|
|
Acquire::<%= type %>::Proxy::<%= bypass %> "DIRECT";
|
|
<% end %>
|