mirror of https://github.com/winsw/winsw
Update proxy documentation
parent
9c6518e246
commit
c45a316008
|
@ -186,7 +186,9 @@ For target servers using the HTTPS transfer protocol it is necessary, that the C
|
|||
By default, the `download` command does not fail the service startup if the operation fails (e.g. `from` is not available).
|
||||
In order to force the download failure in such case, it is possible to specify the `failOnError` boolean attribute.
|
||||
|
||||
To specify a custom proxy you can put your proxy URL in the parameter `proxyServer`.
|
||||
To specify a custom proxy use the parameter `proxy` with the following formats:
|
||||
- With credentials: `http://USERNAME:PASSWORD@HOST:PORT/`.
|
||||
- Without credentials: `http://HOST:PORT/`.
|
||||
|
||||
Examples:
|
||||
|
||||
|
@ -195,14 +197,15 @@ Examples:
|
|||
|
||||
<download from="http://example.com/some.dat" to="%BASE%\some.dat" failOnError="true"/>
|
||||
|
||||
<download from="http://example.com/some.dat" to="%BASE%\some.dat" proxyServer="http://192.168.1.5:80/"/>
|
||||
<download from="http://example.com/some.dat" to="%BASE%\some.dat" proxy="http://192.168.1.5:80/"/>
|
||||
|
||||
<download from="https://example.com/some.dat" to="%BASE%\some.dat" auth="sspi" />
|
||||
|
||||
<download from="https://example.com/some.dat" to="%BASE%\some.dat" failOnError="true"
|
||||
auth="basic" user="aUser" password="aPassw0rd" />
|
||||
|
||||
<download from="http://example.com/some.dat" to="%BASE%\some.dat" proxyServer="http://192.168.1.5:80/"
|
||||
<download from="http://example.com/some.dat" to="%BASE%\some.dat"
|
||||
proxy="http://aUser:aPassw0rd@192.168.1.5:80/"
|
||||
auth="basic" unsecureAuth="true"
|
||||
user="aUser" password="aPassw0rd" />
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue