summaryrefslogtreecommitdiff
path: root/docs/configuration/service/https.rst
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-22 11:05:18 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-22 11:05:37 +0100
commit841cf147ec95c3eb87a1a0b8bace1092bf573d9a (patch)
tree0e7d31db4ecde956e67f1da397aca90dc86585a5 /docs/configuration/service/https.rst
parent2c61e8fa889b695121773ff60a06bd485f411d52 (diff)
downloadvyos-documentation-841cf147ec95c3eb87a1a0b8bace1092bf573d9a.tar.gz
vyos-documentation-841cf147ec95c3eb87a1a0b8bace1092bf573d9a.zip
http: T5762: rename "virtual-host listen-port" -> "virtual-host port"
(cherry picked from commit 2e3510f9886a5512b320267f21035d291c2fb3f5)
Diffstat (limited to 'docs/configuration/service/https.rst')
-rw-r--r--docs/configuration/service/https.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/service/https.rst b/docs/configuration/service/https.rst
index b767cb77..eb2e30eb 100644
--- a/docs/configuration/service/https.rst
+++ b/docs/configuration/service/https.rst
@@ -32,7 +32,7 @@ Configuration
Address to listen for HTTPS requests
-.. cfgcmd:: set service https virtual-host <vhost> listen-port <1-65535>
+.. cfgcmd:: set service https virtual-host <vhost> port <1-65535>
Port to listen for HTTPS requests; default 443
@@ -82,6 +82,6 @@ To use this full configuration we asume a public accessible hostname.
set service https certificates certbot domain-name rtr01.example.com
set service https certificates certbot email mail@example.com
set service https virtual-host rtr01 listen-address 198.51.100.2
- set service https virtual-host rtr01 listen-port 11443
+ set service https virtual-host rtr01 port 11443
set service https virtual-host rtr01 server-name rtr01.example.com
set service https api-restrict virtual-host rtr01