diff --git a/plugins/action/load_caddy_config.py b/plugins/action/load_caddy_config.py index a560ac8..6946f9c 100644 --- a/plugins/action/load_caddy_config.py +++ b/plugins/action/load_caddy_config.py @@ -176,7 +176,7 @@ class ActionModule(ActionBase): """ results = { "dns_hostnames": dict(), # { provider: [ { hostname:"", domain:"", state: "", target: "" } ] } - "backend_config": [], # {site: "xx.fr", upstream: "", upstream_config: [], protected: true, whitelist_local: true, domain: ""} + "proxy_config": [], # {site: "xx.fr", upstream: "", upstream_config: [], protected: true, whitelist_local: true, domain: ""} "uptime_config": [] # [{ name:"", url: "", protected: True, state: "" }] } failed = False @@ -214,7 +214,7 @@ class ActionModule(ActionBase): upstream_config = loaded_data.get("upstream_config") if state == "present": - results['backend_config'].append({ + results['proxy_config'].append({ "site": main_hostname, "upstream": upstream, "upstream_config": upstream_config, @@ -256,7 +256,7 @@ class ActionModule(ActionBase): this_upstream_config = host.get("upstream_config") if this_state == "present": - results['backend_config'].append({ + results['proxy_config'].append({ "site": full_domain, "upstream": upstream, "upstream_config": this_upstream_config,