2025-05-05 19:05:46 +02:00
|
|
|
%YAML 1.2
|
2025-05-05 18:21:57 +02:00
|
|
|
---
|
2025-11-02 20:39:39 +01:00
|
|
|
version: 1.1
|
|
|
|
|
|
2025-05-05 18:21:57 +02:00
|
|
|
manual:
|
|
|
|
|
|
|
|
|
|
use_for_https: true # Also use this proxy for HTTPS
|
|
|
|
|
|
2025-05-05 19:05:46 +02:00
|
|
|
'{{ identifier }}_proxy':
|
|
|
|
|
description: '{{ identifier }} Proxy'
|
2025-05-05 18:21:57 +02:00
|
|
|
hidden:
|
2025-05-05 19:05:46 +02:00
|
|
|
jinja: |-
|
2025-11-10 08:20:56 +01:00
|
|
|
{% if _.use_for_https %}
|
2025-05-05 19:05:46 +02:00
|
|
|
HTTPS is same has HTTP
|
2025-05-05 18:21:57 +02:00
|
|
|
{% endif %}
|
2025-11-10 08:20:56 +01:00
|
|
|
description: in HTTPS case if "_.use_for_https" is set to "true"
|
2025-05-05 19:05:46 +02:00
|
|
|
dynamic:
|
|
|
|
|
- HTTPS
|
|
|
|
|
- SOCKS
|
2025-05-05 18:21:57 +02:00
|
|
|
|
|
|
|
|
address:
|
2025-05-05 19:05:46 +02:00
|
|
|
description: '{{ identifier }} address'
|
2025-05-05 18:21:57 +02:00
|
|
|
default:
|
|
|
|
|
variable: __.http_proxy.address
|
|
|
|
|
|
|
|
|
|
port:
|
2025-05-05 19:05:46 +02:00
|
|
|
description: '{{ identifier }} port'
|
2025-05-05 18:21:57 +02:00
|
|
|
default:
|
|
|
|
|
variable: __.http_proxy.port
|
|
|
|
|
|
|
|
|
|
version:
|
|
|
|
|
description: SOCKS host version used by proxy
|
|
|
|
|
choices:
|
|
|
|
|
- v4
|
|
|
|
|
- v5
|
|
|
|
|
default: v5
|
|
|
|
|
disabled:
|
|
|
|
|
type: identifier
|
2025-05-05 19:05:46 +02:00
|
|
|
when: HTTPS
|
|
|
|
|
...
|