rougail-tutorials_builder/examples/017/dictionaries/proxy/10-manual.yml

32 lines
719 B
YAML
Raw Normal View History

2024-07-21 11:27:47 +02:00
---
version: 1.1
manual:
description: Manual proxy configuration
disabled:
type: jinja
jinja: |
{% if _.proxy.proxy_mode != 'Manual proxy configuration' %}
the proxy mode is not manual
{% endif %}
description: if the value of "proxy.proxy_mode" is not "Manual proxy configuration"
http_proxy: # HTTP Proxy
address:
description: HTTP address
type: domainname
params:
allow_ip: true
port:
description: HTTP Port
type: port
default: '8080'
use_for_https: true # Also use this proxy for HTTPS
ssl_proxy:
description: HTTPS Proxy
type: family
hidden:
type: variable
variable: proxy.manual.use_for_https