mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 15:35:06 +00:00
Deployed f10b8dcf with MkDocs version: 1.6.1
This commit is contained in:
@@ -2824,37 +2824,11 @@ config key in your <code>unshackle.yaml</code>. Each proxy provider has its own
|
||||
proxy provider, with their types and defaults.</p>
|
||||
</div>
|
||||
<h2 id="the-proxy-flag">The <code>--proxy</code> flag<a class="headerlink" href="#the-proxy-flag" title="Permanent link">¶</a></h2>
|
||||
<p>Five options on the <code>dl</code> command control proxying at download time:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Option</th>
|
||||
<th>Effect</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>--proxy</code></td>
|
||||
<td>The proxy to use. Either an explicit URI, or a query that unshackle resolves against your configured providers.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--local-proxy</code></td>
|
||||
<td>With <code>--remote</code>, send the server's service requests through your machine's own connection, or through a <code>--proxy</code> that your machine connects to. See <a href="#send-the-servers-requests-through-your-machine">Send the server's requests through your machine</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-proxy</code></td>
|
||||
<td>Force <strong>all</strong> proxy use off. No providers are initialised and no proxy query is resolved.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--no-proxy-download</code></td>
|
||||
<td>Use the proxy for the manifest, licence, and authentication, but bypass it for the <strong>downloads</strong> themselves.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--proxy-download</code></td>
|
||||
<td>Use <code>--proxy</code> for the manifest, licence, and authentication, and a different proxy for the <strong>downloads</strong>. Takes the same forms as <code>--proxy</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Five options on the <code>dl</code> command control proxying at download time: <code>--proxy</code>, <code>--local-proxy</code>,
|
||||
<code>--no-proxy</code>, <code>--no-proxy-download</code> and <code>--proxy-download</code>. The
|
||||
<a href="../cli-reference/#network-proxy">network and proxy flags</a> give what each one does.
|
||||
<a href="#send-the-servers-requests-through-your-machine">Send the server's requests through your machine</a>
|
||||
explains <code>--local-proxy</code>.</p>
|
||||
<div class="language-shell highlight"><span class="filename">Explicit proxy URI</span><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>--proxy<span class="w"> </span>http://user:pass@1.2.3.4:8080<span class="w"> </span>EXAMPLE<span class="w"> </span><span class="m">81234567</span>
|
||||
</span></code></pre></div>
|
||||
<div class="language-shell highlight"><span class="filename">Resolve a US server from your configured providers</span><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>--proxy<span class="w"> </span>us<span class="w"> </span>EXAMPLE<span class="w"> </span><span class="m">81234567</span>
|
||||
@@ -3333,11 +3307,8 @@ server only that endpoint's resolver ID, as <code>controld://<resolver>@dn
|
||||
The server runs its own forwarder with it, from its own address, and needs no Control D
|
||||
configuration. The resolver ID lets anyone who has it use that endpoint's proxy, so treat
|
||||
it as a secret: unshackle masks it in logs and in stored job parameters.</p>
|
||||
<p>The server must run a version of unshackle that knows <code>controld://</code>. An older server
|
||||
rejects it with <code>INVALID_PROXY</code>: <code>Proxy provider 'controld' not found</code> when your API key
|
||||
has <code>server_proxy</code>, else a message that asks for a full proxy URI. A bare region, such
|
||||
as <code>--proxy ca</code>, skips Control D with <code>--remote</code>, because the proxy it gives is on your
|
||||
machine. A service whose accounts the server manages does not accept a proxy from the
|
||||
<p>A bare region, such as <code>--proxy ca</code>, skips Control D with <code>--remote</code>, because the proxy it
|
||||
gives is on your machine. A service whose accounts the server manages does not accept a proxy from the
|
||||
client, and that includes a Control D resolver.</p>
|
||||
</div>
|
||||
<h3 id="troubleshooting-control-d">Troubleshooting Control D<a class="headerlink" href="#troubleshooting-control-d" title="Permanent link">¶</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user