view modules/apt/templates/proxy.epp @ 444:83fbddb56de1

Increase PHP limits Required to install/upgrade NextCloud on the test VPS. Servers are bigger now, so it should be okay
author IBBoard <dev@ibboard.co.uk>
date Mon, 08 May 2023 13:41:26 +0100
parents 3fce34f642f1
children
line wrap: on
line source

<%- | Hash $proxies | -%>
<% $proxies['perhost'].each |$proxy| { -%>
Acquire::<%= $proxy['scheme'] %>::proxy::<%= $proxy['scope'] %> "<%= $proxy['target'] %>";
<% } -%>
Acquire::http::proxy "http://<%= $proxies['host'] %>:<%= $proxies['port'] %>/";
<%- if $proxies['https'] { %>
Acquire::https::proxy "https://<%= $proxies['host'] %>:<%= $proxies['port'] %>/";
<%- } elsif $proxies['direct'] { -%>
Acquire::https::proxy "DIRECT";
<%- } -%>