summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2021-12-10 21:13:32 +0100
committerGitHub <noreply@github.com>2021-12-10 21:13:32 +0100
commit1ed197bb772bde1b783f73171a130ff265a86793 (patch)
tree855876280269e4e2726bc0f555f78093ab254241 /docs
parentc3918dd1ce45f6d437e9c67e4e5b601b37850d9f (diff)
parentbc1f0bb53b9ff398676c78a2202c136e92a253da (diff)
downloadvyos-documentation-1ed197bb772bde1b783f73171a130ff265a86793.tar.gz
vyos-documentation-1ed197bb772bde1b783f73171a130ff265a86793.zip
Merge pull request #675 from showipintbri/patch-1
spelling and grammar update and corrections
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/service/https.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/configuration/service/https.rst b/docs/configuration/service/https.rst
index 1f1e2aa9..0c6dcbd9 100644
--- a/docs/configuration/service/https.rst
+++ b/docs/configuration/service/https.rst
@@ -4,7 +4,7 @@
HTTP-API
########
-VyOS provide a HTTP API. You can use it to execute op-mode commands,
+VyOS provides an HTTP API. You can use it to execute op-mode commands,
update VyOS, set or delete config.
Please take a look at the :ref:`vyosapi` page for an detailed how-to.
@@ -15,7 +15,7 @@ Configuration
.. cfgcmd:: set service https api keys id <name> key <apikey>
- Set an named api key, every key have the same, full permissions
+ Set a named api key, every key has the same, full permissions
on the system.
.. cfgcmd:: set service https api debug
@@ -25,7 +25,7 @@ Configuration
.. cfgcmd:: set service https api port
- Set the listen port of the local API, this have non effect of the
+ Set the listen port of the local API, this has no effect on the
webserver. The default is port 8080
.. cfgcmd:: set service https api strict
@@ -46,7 +46,7 @@ Configuration
.. cfgcmd:: set service https api-restrict virtual-host <vhost>
- Nginx exposes the local API on all virtual servers, by default
+ Nginx exposes the local API on all virtual servers, by default.
Use this to restrict nginx to one or more virtual hosts.
.. cfgcmd:: set service https certificates certbot domain-name <text>
@@ -71,14 +71,15 @@ Configuration
Example Configuration
*********************
-Set an API-KEY is the minimal configuration to get a working API Endpoint.
+Setting an API-KEY is the minimal configuration needed to get a working API
+Endpoint.
.. code-block:: none
set service https api keys id MY-HTTPS-API-ID key MY-HTTPS-API-PLAINTEXT-KEY
-To use this full configuration we asume a publice accessable hostname.
+To use this full configuration we asume a globally resolvable hostname.
.. code-block:: none
@@ -88,4 +89,4 @@ To use this full configuration we asume a publice accessable hostname.
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 server-name rtr01.example.com
- set service https api-restrict virtual-host rtr01.example.com \ No newline at end of file
+ set service https api-restrict virtual-host rtr01.example.com