mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 15:35:06 +00:00
docs: give each dl and serve flag and the error envelope one owner page and tighten the cli-reference test
This commit is contained in:
@@ -21,15 +21,11 @@ a query to a real proxy URL: [basic static proxies](#basic-static-proxies),
|
||||
|
||||
## The `--proxy` flag
|
||||
|
||||
Five options on the `dl` command control proxying at download time:
|
||||
|
||||
| Option | Effect |
|
||||
|---|---|
|
||||
| `--proxy` | The proxy to use. Either an explicit URI, or a query that unshackle resolves against your configured providers. |
|
||||
| `--local-proxy` | With `--remote`, send the server's service requests through your machine's own connection, or through a `--proxy` that your machine connects to. See [Send the server's requests through your machine](#send-the-servers-requests-through-your-machine). |
|
||||
| `--no-proxy` | Force **all** proxy use off. No providers are initialised and no proxy query is resolved. |
|
||||
| `--no-proxy-download` | Use the proxy for the manifest, licence, and authentication, but bypass it for the **downloads** themselves. |
|
||||
| `--proxy-download` | Use `--proxy` for the manifest, licence, and authentication, and a different proxy for the **downloads**. Takes the same forms as `--proxy`. |
|
||||
Five options on the `dl` command control proxying at download time: `--proxy`, `--local-proxy`,
|
||||
`--no-proxy`, `--no-proxy-download` and `--proxy-download`. The
|
||||
[network and proxy flags](cli-reference.md#network-proxy) give what each one does.
|
||||
[Send the server's requests through your machine](#send-the-servers-requests-through-your-machine)
|
||||
explains `--local-proxy`.
|
||||
|
||||
```shell title="Explicit proxy URI"
|
||||
unshackle dl --proxy http://user:pass@1.2.3.4:8080 EXAMPLE 81234567
|
||||
@@ -533,11 +529,8 @@ it next needs them.
|
||||
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.
|
||||
|
||||
The server must run a version of unshackle that knows `controld://`. An older server
|
||||
rejects it with `INVALID_PROXY`: `Proxy provider 'controld' not found` when your API key
|
||||
has `server_proxy`, else a message that asks for a full proxy URI. A bare region, such
|
||||
as `--proxy ca`, skips Control D with `--remote`, because the proxy it gives is on your
|
||||
machine. A service whose accounts the server manages does not accept a proxy from the
|
||||
A bare region, such as `--proxy ca`, skips Control D with `--remote`, 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.
|
||||
|
||||
### Troubleshooting Control D
|
||||
|
||||
Reference in New Issue
Block a user