summaryrefslogtreecommitdiffstats
path: root/web/server
diff options
context:
space:
mode:
authorPromise Akpan <akpanpromise@hotmail.com>2019-09-18 16:57:56 +0100
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-09-18 17:57:56 +0200
commit2cd5f08007479b299954e60281afa9d961adfbc9 (patch)
treeb61cb69350d51027631b42b06f9372ca1ddacbbd /web/server
parent187620911c06585882350ff871ef49bb6e6acd1e (diff)
Remove Dollar sign from Bash code in documentation and fix remark-lint warnings (#6880)
* remove dollar sign from bash code * remove dollar sign from sh * clean up uninstall doc * remove dollar sign from shell code * fix remark after removing dollar sign * fix HAProxy dollar sign and clean up remark
Diffstat (limited to 'web/server')
-rw-r--r--web/server/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/server/README.md b/web/server/README.md
index 30cb00699a..0cdb47760f 100644
--- a/web/server/README.md
+++ b/web/server/README.md
@@ -79,14 +79,14 @@ Both files must be readable by the `netdata` user. If either of these files do n
For test purposes, you can generate self-signed certificates with the following command:
```bash
-$ openssl req -newkey rsa:2048 -nodes -sha512 -x509 -days 365 -keyout key.pem -out cert.pem
+openssl req -newkey rsa:2048 -nodes -sha512 -x509 -days 365 -keyout key.pem -out cert.pem
```
!!! note
If you use 4096 bits for your key and the certificate, Netdata will need more CPU to process the communication. `rsa4096` can be up to 4 times slower than `rsa2048`, so we recommend using 2048 bits. You can verify the difference by running:
```sh
-$ openssl speed rsa2048 rsa4096
+openssl speed rsa2048 rsa4096
```
#### TLS/SSL enforcement
@@ -98,11 +98,11 @@ When the certificates are defined and unless any other options are provided, a N
To change this behavior, you need to modify the `bind to` setting in the `[web]` section of `netdata.conf`. At the end of each port definition, you can append `^SSL=force` or `^SSL=optional`. What happens with these settings differs, depending on whether the port is used for HTTP/S requests, or for streaming.
-|SSL setting|HTTP requests|HTTPS requests|Unencrypted Streams|Encrypted Streams|
+| SSL setting | HTTP requests|HTTPS requests|Unencrypted Streams|Encrypted Streams|
|:---------:|:-----------:|:------------:|:-----------------:|:----------------|
-|none|Redirected to HTTPS|Accepted|Accepted|Accepted|
-|`force`|Redirected to HTTPS|Accepted|Denied|Accepted|
-|`optional`|Accepted|Accepted|Accepted|Accepted|
+| none | Redirected to HTTPS|Accepted|Accepted|Accepted|
+| `force`| Redirected to HTTPS|Accepted|Denied|Accepted|
+| `optional`| Accepted|Accepted|Accepted|Accepted|
Example: