[tutorial v1.1_081] HTTPS and SOCKS Proxy
This commit is contained in:
parent
2ea524e2f5
commit
0ba48f2359
1 changed files with 8 additions and 17 deletions
|
|
@ -6,37 +6,28 @@ manual:
|
||||||
|
|
||||||
use_for_https: true # Also use this proxy for HTTPS
|
use_for_https: true # Also use this proxy for HTTPS
|
||||||
|
|
||||||
'{{ identifier }}_proxy':
|
https_proxy:
|
||||||
description: '{{ identifier }} Proxy'
|
description: HTTPS Proxy
|
||||||
|
type: proxy
|
||||||
hidden:
|
hidden:
|
||||||
jinja: |-
|
variable: _.use_for_https
|
||||||
{{ my_identifier == 'HTTPS' and _.use_for_https }}
|
|
||||||
return_type: boolean
|
|
||||||
description: in HTTPS case if "_.use_for_https" is set to "true"
|
|
||||||
params:
|
|
||||||
my_identifier:
|
|
||||||
type: identifier
|
|
||||||
dynamic:
|
|
||||||
- HTTPS
|
|
||||||
- SOCKS
|
|
||||||
|
|
||||||
address:
|
address:
|
||||||
description: '{{ identifier }} address'
|
|
||||||
default:
|
default:
|
||||||
variable: __.http_proxy.address
|
variable: __.http_proxy.address
|
||||||
|
|
||||||
port:
|
port:
|
||||||
description: '{{ identifier }} port'
|
|
||||||
default:
|
default:
|
||||||
variable: __.http_proxy.port
|
variable: __.http_proxy.port
|
||||||
|
|
||||||
|
socks_proxy:
|
||||||
|
description: SOCKS Proxy
|
||||||
|
type: proxy
|
||||||
|
|
||||||
version:
|
version:
|
||||||
description: SOCKS host version used by proxy
|
description: SOCKS host version used by proxy
|
||||||
choices:
|
choices:
|
||||||
- v4
|
- v4
|
||||||
- v5
|
- v5
|
||||||
default: v5
|
default: v5
|
||||||
disabled:
|
|
||||||
type: identifier
|
|
||||||
when: HTTPS
|
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue