diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-30 13:47:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 13:47:36 +0200 |
commit | 5978273c679b053dab2b878b476f0fd350a3e243 (patch) | |
tree | a47cae56d9671a5f7cbed2cc139339cd90e5fc9c /op-mode-definitions/reverse-proxy.xml.in | |
parent | 138be55a8e85bcaee8adfb298363c8afd16075ca (diff) | |
parent | 4b189a76c0a9a28504aab6715658840b929fc243 (diff) | |
download | vyos-1x-5978273c679b053dab2b878b476f0fd350a3e243.tar.gz vyos-1x-5978273c679b053dab2b878b476f0fd350a3e243.zip |
Merge pull request #3546 from c-po/haproxy
reverse-proxy: T6419: build full CA chain when verifying backend server
Diffstat (limited to 'op-mode-definitions/reverse-proxy.xml.in')
-rw-r--r-- | op-mode-definitions/reverse-proxy.xml.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/op-mode-definitions/reverse-proxy.xml.in b/op-mode-definitions/reverse-proxy.xml.in new file mode 100644 index 000000000..4af24880b --- /dev/null +++ b/op-mode-definitions/reverse-proxy.xml.in @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="restart"> + <children> + <node name="reverse-proxy"> + <properties> + <help>Restart reverse-proxy service</help> + </properties> + <command>if cli-shell-api existsActive load-balancing reverse-proxy; then sudo systemctl restart haproxy.service; else echo "Reverse-Proxy not configured"; fi</command> + </node> + </children> + </node> + <node name="show"> + <children> + <node name="reverse-proxy"> + <properties> + <help>Show load-balancing reverse-proxy</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/reverseproxy.py show</command> + </node> + </children> + </node> +</interfaceDefinition> |