From 6d2c67338c70c1e8376e3a2c995c56fd8dd02f31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C4=93teris=20Caune?=
Date: Wed, 21 Apr 2021 17:59:10 +0300
Subject: [PATCH] Improve the ALLOWED_HOSTS description
Fixes: #499
---
templates/docs/self_hosted_configuration.html | 6 +++---
templates/docs/self_hosted_configuration.md | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/docs/self_hosted_configuration.html b/templates/docs/self_hosted_configuration.html
index 2af87cec..0ff9d78e 100644
--- a/templates/docs/self_hosted_configuration.html
+++ b/templates/docs/self_hosted_configuration.html
@@ -3,12 +3,12 @@
from environment variables. Below is a list of variables it reads and uses:
ALLOWED_HOSTS
Default: *
-A list of strings representing the host/domain names that this site can serve.
-You can specify multiple domain names by separating them with commas:
+The host/domain names that this site can serve. You can specify multiple domain names
+by separating them with commas:
ALLOWED_HOSTS=my-hc.example.org,alternative-name.example.org
-Aside from the comma-separated syntax, this is a standard Django setting.
+
Apart from the comma-separated syntax, this is a standard Django setting.
Read more about it in the
Django documentation.
APPRISE_ENABLED
diff --git a/templates/docs/self_hosted_configuration.md b/templates/docs/self_hosted_configuration.md
index 17d4376e..6959e10f 100644
--- a/templates/docs/self_hosted_configuration.md
+++ b/templates/docs/self_hosted_configuration.md
@@ -7,14 +7,14 @@ from environment variables. Below is a list of variables it reads and uses:
Default: `*`
-A list of strings representing the host/domain names that this site can serve.
-You can specify multiple domain names by separating them with commas:
+The host/domain names that this site can serve. You can specify multiple domain names
+by separating them with commas:
```ini
ALLOWED_HOSTS=my-hc.example.org,alternative-name.example.org
```
-Aside from the comma-separated syntax, this is a standard Django setting.
+Apart from the comma-separated syntax, this is a standard Django setting.
Read more about it in the
[Django documentation](https://docs.djangoproject.com/en/3.1/ref/settings/#allowed-hosts).