summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-11-14 13:17:40 -0600
committerJohn Estabrook <jestabro@sentrium.io>2019-11-18 14:19:57 -0600
commit3dc8a88d098497c5c24df3e77a148fde4314d874 (patch)
tree57394c226111b1b63b7e08868c1c3f0bf779798f /interface-definitions
parentead28e2ab3ed6a05f724aa7eda17dff7f637af89 (diff)
downloadvyos-1x-3dc8a88d098497c5c24df3e77a148fde4314d874.tar.gz
vyos-1x-3dc8a88d098497c5c24df3e77a148fde4314d874.zip
[service https] T1443: add setting of HTTPS listen port
(cherry picked from commit 6b25ed2a44dde77f5cbfbf68fb4f5f661a34c1c0)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/https.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/https.xml b/interface-definitions/https.xml
index 2fb3bf082..f5d609f95 100644
--- a/interface-definitions/https.xml
+++ b/interface-definitions/https.xml
@@ -31,6 +31,18 @@
</constraint>
</properties>
<children>
+ <leafNode name='listen-port'>
+ <properties>
+ <help>Port to listen for HTTPS requests; default 443</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Numeric IP port</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="server-name">
<properties>
<help>Server names: exact, wildcard, regex, or '_' (any)</help>