30 lines
645 B
YAML
30 lines
645 B
YAML
---
|
|
manual:
|
|
|
|
use_for_https:
|
|
description: Also use this proxy for HTTPS
|
|
default: true
|
|
|
|
"{{ identifier }}_proxy":
|
|
description: "{{ identifier }} Proxy"
|
|
dynamic:
|
|
- HTTPS
|
|
- SOCKS
|
|
hidden:
|
|
jinja: |
|
|
{% if my_identifier == 'HTTPS' and manual.use_for_https %}
|
|
HTTPS is same has HTTP
|
|
{% endif %}
|
|
params:
|
|
my_identifier:
|
|
type: identifier
|
|
|
|
address:
|
|
description: "{{ identifier }} address"
|
|
default:
|
|
variable: manual.http_proxy.address
|
|
|
|
port:
|
|
description: "{{ identifier }} port"
|
|
default:
|
|
variable: manual.http_proxy.port
|