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>
|
from environment variables. Below is a list of variables it reads and uses:</p>
|
||||||
<h2 id="ALLOWED_HOSTS"><code>ALLOWED_HOSTS</code></h2>
|
<h2 id="ALLOWED_HOSTS"><code>ALLOWED_HOSTS</code></h2>
|
||||||
<p>Default: <code>*</code></p>
|
<p>Default: <code>*</code></p>
|
||||||
<p>A list of strings representing the host/domain names that this site can serve.
|
<p>The host/domain names that this site can serve. You can specify multiple domain names
|
||||||
You can specify multiple domain names by separating them with commas:</p>
|
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>
|
<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>
|
</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
|
Read more about it in the
|
||||||
<a href="https://docs.djangoproject.com/en/3.1/ref/settings/#allowed-hosts">Django documentation</a>.</p>
|
<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>
|
<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: `*`
|
Default: `*`
|
||||||
|
|
||||||
A list of strings representing the host/domain names that this site can serve.
|
The host/domain names that this site can serve. You can specify multiple domain names
|
||||||
You can specify multiple domain names by separating them with commas:
|
by separating them with commas:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
ALLOWED_HOSTS=my-hc.example.org,alternative-name.example.org
|
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
|
Read more about it in the
|
||||||
[Django documentation](https://docs.djangoproject.com/en/3.1/ref/settings/#allowed-hosts).
|
[Django documentation](https://docs.djangoproject.com/en/3.1/ref/settings/#allowed-hosts).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user