[tutorial v1.1_083] Redefine other parameter in custom type
This commit is contained in:
parent
afa267c206
commit
411485837b
3 changed files with 20 additions and 2 deletions
|
|
@ -13,8 +13,12 @@ manual:
|
|||
type: proxy
|
||||
|
||||
address:
|
||||
redefine: true
|
||||
default: null
|
||||
description: HTTP proxy address
|
||||
|
||||
port:
|
||||
redefine: true
|
||||
default: 8080
|
||||
description: HTTP proxy port
|
||||
...
|
||||
|
|
|
|||
|
|
@ -12,10 +12,26 @@ manual:
|
|||
hidden:
|
||||
variable: _.use_for_https
|
||||
|
||||
address:
|
||||
redefine: true
|
||||
description: HTTPS proxy address
|
||||
|
||||
port:
|
||||
redefine: true
|
||||
description: HTTPS proxy port
|
||||
|
||||
socks_proxy:
|
||||
description: SOCKS Proxy
|
||||
type: proxy
|
||||
|
||||
address:
|
||||
redefine: true
|
||||
description: SOCKS proxy address
|
||||
|
||||
port:
|
||||
redefine: true
|
||||
description: SOCKS proxy port
|
||||
|
||||
version:
|
||||
description: SOCKS host version used by proxy
|
||||
choices:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ version: 1.1
|
|||
proxy:
|
||||
|
||||
address:
|
||||
description: Proxy address
|
||||
type: domainname
|
||||
params:
|
||||
allow_ip: true
|
||||
|
|
@ -13,7 +12,6 @@ proxy:
|
|||
variable: __.http_proxy.address
|
||||
|
||||
port:
|
||||
description: Proxy port
|
||||
type: port
|
||||
default:
|
||||
variable: __.http_proxy.port
|
||||
|
|
|
|||
Loading…
Reference in a new issue