2025-11-09 18:39:29 +01:00
|
|
|
%YAML 1.2
|
|
|
|
|
---
|
|
|
|
|
version: 1.1
|
|
|
|
|
|
|
|
|
|
manual:
|
|
|
|
|
|
|
|
|
|
use_for_https: true # Also use this proxy for HTTPS
|
2025-11-09 18:39:32 +01:00
|
|
|
|
2025-11-09 18:39:35 +01:00
|
|
|
'{{ identifier }}_proxy':
|
|
|
|
|
description: '{{ identifier }} Proxy'
|
2025-11-09 18:39:33 +01:00
|
|
|
hidden:
|
2025-11-09 18:39:36 +01:00
|
|
|
jinja: |-
|
2025-11-09 18:39:37 +01:00
|
|
|
{% if my_identifier == 'HTTPS' and _.use_for_https %}
|
2025-11-09 18:39:36 +01:00
|
|
|
HTTPS is same has HTTP
|
|
|
|
|
{% endif %}
|
2025-11-09 18:39:38 +01:00
|
|
|
description: in HTTPS case if "_.use_for_https" is set to True
|
2025-11-09 18:39:37 +01:00
|
|
|
params:
|
|
|
|
|
my_identifier:
|
|
|
|
|
type: identifier
|
2025-11-09 18:39:35 +01:00
|
|
|
dynamic:
|
|
|
|
|
- HTTPS
|
|
|
|
|
- SOCKS
|
2025-11-09 18:39:32 +01:00
|
|
|
|
|
|
|
|
address:
|
2025-11-09 18:39:35 +01:00
|
|
|
description: '{{ identifier }} address'
|
2025-11-09 18:39:34 +01:00
|
|
|
default:
|
|
|
|
|
variable: __.http_proxy.address
|
2025-11-09 18:39:32 +01:00
|
|
|
|
|
|
|
|
port:
|
2025-11-09 18:39:35 +01:00
|
|
|
description: '{{ identifier }} port'
|
2025-11-09 18:39:34 +01:00
|
|
|
default:
|
|
|
|
|
variable: __.http_proxy.port
|
2025-11-09 18:39:29 +01:00
|
|
|
...
|