rougail-tutorials_builder/examples/091/structural_files/firefox/20-manual.yml

44 lines
896 B
YAML
Raw Normal View History

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-05-05 18:21:57 +02:00
{% if my_identifier == 'HTTPS' and _.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-02 20:39:39 +01:00
description: in HTTPS case if "manual.use_for_https" is set to True
2025-05-05 18:21:57 +02:00
params:
my_identifier:
type: identifier
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
...