summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-08-27 08:13:02 -0500
committerJohn Estabrook <jestabro@sentrium.io>2019-08-27 08:13:02 -0500
commit1ace4a35237889bceff7309df0c687bf32ab89a9 (patch)
tree03354cc8a05914543f29cb61ddb387972e360553 /interface-definitions
parent93184326fc3768216b734a5fcc60e193b5e27fad (diff)
downloadvyos-1x-1ace4a35237889bceff7309df0c687bf32ab89a9.tar.gz
vyos-1x-1ace4a35237889bceff7309df0c687bf32ab89a9.zip
[service https] T1443: Correct the use of listen/server_name directives
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/https.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/interface-definitions/https.xml b/interface-definitions/https.xml
index 13d5c43ea..7a87133f3 100644
--- a/interface-definitions/https.xml
+++ b/interface-definitions/https.xml
@@ -9,7 +9,7 @@
<priority>1001</priority>
</properties>
<children>
- <leafNode name="listen-address">
+ <tagNode name="listen-addresses">
<properties>
<help>Addresses to listen for HTTPS requests</help>
<valueHelp>
@@ -20,13 +20,25 @@
<format>ipv6</format>
<description>HTTPS IPv6 address</description>
</valueHelp>
- <multi/>
+ <valueHelp>
+ <format>'*'</format>
+ <description>any</description>
+ </valueHelp>
<constraint>
<validator name="ipv4-address"/>
<validator name="ipv6-address"/>
+ <regex>^\\*$</regex>
</constraint>
</properties>
- </leafNode>
+ <children>
+ <leafNode name="server-names">
+ <properties>
+ <help>Server names: exact, wildcard, regex, or '_' (any)</help>
+ <multi/>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
<node name="certificates">
<properties>
<help>TLS certificates</help>