31 lines
719 B
YAML
31 lines
719 B
YAML
---
|
|
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
|