From 57640cb47dc722059f03f26373141237fa7305ce Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 7 Sep 2024 19:06:45 +0200 Subject: [PATCH] [tutorial 023] Conditional hidden family and calculated default value Add a sub family "https_proxy" which will be hidden if "use_for_https" is True. Hidden means that we cannot change value, but we can access to it in read only mode. Inside, we add two variable with calculated default value (with variable type). So, if user set "use_for_https" to True, the default values of HTTPS configuration will be a copy of HTTP values. The use can change HTTPS values if needed. If user set "use_for_https" to False, the default values of HTTPS configuration will only be a copy of HTTP values. --- firefox/20-manual.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/firefox/20-manual.yml b/firefox/20-manual.yml index 274db2bb..73e1cc7c 100644 --- a/firefox/20-manual.yml +++ b/firefox/20-manual.yml @@ -2,3 +2,16 @@ manual: use_for_https: true # Also use this proxy for HTTPS + + https_proxy: # HTTPS Proxy + + address: + description: HTTPS address + type: domainname + params: + allow_ip: true + + port: + description: HTTPS Port + type: port + default: 8080