2025-12-02 16:18:34 +01:00
|
|
|
%YAML 1.2
|
|
|
|
|
---
|
|
|
|
|
version: 1.1
|
|
|
|
|
|
|
|
|
|
manual:
|
|
|
|
|
|
|
|
|
|
use_for_https: true # Also use this proxy for HTTPS
|
2025-12-02 16:18:39 +01:00
|
|
|
|
2025-12-02 16:18:44 +01:00
|
|
|
'{{ identifier }}_proxy':
|
|
|
|
|
description: '{{ identifier }} Proxy'
|
2025-12-02 16:18:41 +01:00
|
|
|
hidden:
|
2025-12-02 16:18:48 +01:00
|
|
|
jinja: |-
|
2025-12-02 16:18:51 +01:00
|
|
|
{% if my_identifier == 'HTTPS' and _.use_for_https %}
|
2025-12-02 16:18:48 +01:00
|
|
|
HTTPS is same has HTTP
|
|
|
|
|
{% endif %}
|
2025-12-02 16:18:49 +01:00
|
|
|
description: in HTTPS case if "_.use_for_https" is set to "true"
|
2025-12-02 16:18:51 +01:00
|
|
|
params:
|
|
|
|
|
my_identifier:
|
|
|
|
|
type: identifier
|
2025-12-02 16:18:44 +01:00
|
|
|
dynamic:
|
|
|
|
|
- HTTPS
|
|
|
|
|
- SOCKS
|
2025-12-02 16:18:39 +01:00
|
|
|
|
|
|
|
|
address:
|
2025-12-02 16:18:44 +01:00
|
|
|
description: '{{ identifier }} address'
|
2025-12-02 16:18:42 +01:00
|
|
|
default:
|
|
|
|
|
variable: __.http_proxy.address
|
2025-12-02 16:18:39 +01:00
|
|
|
|
|
|
|
|
port:
|
2025-12-02 16:18:44 +01:00
|
|
|
description: '{{ identifier }} port'
|
2025-12-02 16:18:42 +01:00
|
|
|
default:
|
|
|
|
|
variable: __.http_proxy.port
|
2025-12-02 16:18:46 +01:00
|
|
|
|
|
|
|
|
version:
|
|
|
|
|
description: SOCKS host version used by proxy
|
|
|
|
|
choices:
|
|
|
|
|
- v4
|
|
|
|
|
- v5
|
|
|
|
|
default: v5
|
|
|
|
|
disabled:
|
|
|
|
|
type: identifier
|
|
|
|
|
when: HTTPS
|
2025-12-02 16:18:34 +01:00
|
|
|
...
|