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