Update ALLOWED_HOSTS for new server

There's no need for the site to be accessed via IP or it's hostname.
This commit is contained in:
Ben Sturmfels 2023-09-20 12:45:26 +10:00
parent 49ca73f50e
commit fb9e7242b5
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -24,7 +24,7 @@ ROOT_URLCONF = 'conservancy.urls'
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
ALLOWED_HOSTS = [ 'www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org', '104.130.70.210' ]
ALLOWED_HOSTS = ['www.sfconservancy.org', 'sfconservancy.org']
if DEBUG:
ALLOWED_HOSTS = ['*']