relative path

This commit is contained in:
gwen 2025-10-27 09:20:12 +01:00
parent 9d856f9de0
commit 22a5621c5d

View file

@ -6,44 +6,45 @@ on a un path relatif, `_` ou `__`
https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_091~1..v1.1_091
---
manual:
::
use_for_https: true # Also use this proxy for HTTPS
manual:
"{{ identifier }}_proxy":
description: "{{ identifier }} Proxy"
dynamic:
- HTTPS
- SOCKS
hidden:
jinja: |
{% if my_identifier == 'HTTPS' and _.use_for_https %}
HTTPS is same has HTTP
{% endif %}
params:
my_identifier:
type: identifier
description: |
in HTTPS case if "manual.use_for_https" is set to True
use_for_https: true # Also use this proxy for HTTPS
address:
description: "{{ identifier }} address"
default:
variable: __.http_proxy.address
"{{ identifier }}_proxy":
description: "{{ identifier }} Proxy"
dynamic:
- HTTPS
- SOCKS
hidden:
jinja: |
{% if my_identifier == 'HTTPS' and _.use_for_https %}
HTTPS is same has HTTP
{% endif %}
params:
my_identifier:
type: identifier
description: |
in HTTPS case if "manual.use_for_https" is set to True
port:
description: "{{ identifier }} port"
default:
variable: __.http_proxy.port
address:
description: "{{ identifier }} address"
default:
variable: __.http_proxy.address
version:
description: SOCKS host version used by proxy
choices:
- v4
- v5
default: v5
disabled:
type: identifier
when: 'HTTPS'
port:
description: "{{ identifier }} port"
default:
variable: __.http_proxy.port
version:
description: SOCKS host version used by proxy
choices:
- v4
- v5
default: v5
disabled:
type: identifier
when: 'HTTPS'