summaryrefslogtreecommitdiff
path: root/interface-definitions/https.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-03-30 09:28:44 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-03-30 14:07:57 -0500
commit69dda9497229b56bf68e7e66135688561598b892 (patch)
tree80d61fe3c95cd37567c8c19d4a1cdef5719c9d0e /interface-definitions/https.xml.in
parent84c2b27ed3148ff17ffeb2f4e034ffef6ddc0b0b (diff)
downloadvyos-1x-69dda9497229b56bf68e7e66135688561598b892.tar.gz
vyos-1x-69dda9497229b56bf68e7e66135688561598b892.zip
http api: T2160: allow restricting HTTP API to specific servers
By default, the HTTP API will be proxied by any nginx virtual server. Allow specifying a subset of servers to act as proxy.
Diffstat (limited to 'interface-definitions/https.xml.in')
-rw-r--r--interface-definitions/https.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/https.xml.in b/interface-definitions/https.xml.in
index 1d986b2b4..49bd25b82 100644
--- a/interface-definitions/https.xml.in
+++ b/interface-definitions/https.xml.in
@@ -111,6 +111,12 @@
<hidden/>
</properties>
</leafNode>
+ <leafNode name="virtual-host">
+ <properties>
+ <help>Restrict proxy to virtual host(s)</help>
+ <multi/>
+ </properties>
+ </leafNode>
</children>
</node>
<node name="certificates">