Move ALLOWED_HOSTS -> ALLOWED_HOSTS.example with some examples too

ALLOWED_HOSTS file is used in production to determine which hosts this
server is allowed to respond from. This has been moved to
ALLOWED_HOSTS.example with some example usage included. This is mostly
used to prevent accidentally committing and overwriting allowed hosts
used in production.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-12 16:51:44 -07:00
parent a38162a8df
commit 8fef30b9c0
2 changed files with 4 additions and 0 deletions

View File

4
ALLOWED_HOSTS.example Normal file
View File

@@ -0,0 +1,4 @@
localhost
127.0.0.1
::1
any.other.host.you.want.to.allow.com