forked from GithubBackups/healthchecks
parent
6c8b6a2a19
commit
6d2c67338c
@ -3,12 +3,12 @@
|
||||
from environment variables. Below is a list of variables it reads and uses:</p>
|
||||
<h2 id="ALLOWED_HOSTS"><code>ALLOWED_HOSTS</code></h2>
|
||||
<p>Default: <code>*</code></p>
|
||||
<p>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:</p>
|
||||
<p>The host/domain names that this site can serve. You can specify multiple domain names
|
||||
by separating them with commas:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="na">ALLOWED_HOSTS</span><span class="o">=</span><span class="s">my-hc.example.org,alternative-name.example.org</span>
|
||||
</code></pre></div>
|
||||
|
||||
<p>Aside from the comma-separated syntax, this is a standard Django setting.
|
||||
<p>Apart from the comma-separated syntax, this is a standard Django setting.
|
||||
Read more about it in the
|
||||
<a href="https://docs.djangoproject.com/en/3.1/ref/settings/#allowed-hosts">Django documentation</a>.</p>
|
||||
<h2 id="APPRISE_ENABLED"><code>APPRISE_ENABLED</code></h2>
|
||||
|
@ -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).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user