From 4ee80469e5e92b3c991d3a6a94ded98f2c03a81b Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Sun, 5 Mar 2017 14:39:08 +0000 Subject: [PATCH] add www to aloowed hosts --- config/settings/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/production.py b/config/settings/production.py index 67f3b58..0701204 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -48,7 +48,7 @@ X_FRAME_OPTIONS = 'DENY' # ------------------------------------------------------------------------------ # Hosts/domain names that are valid for this site # See https://docs.djangoproject.com/en/1.6/ref/settings/#allowed-hosts -ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['maidstone-hackspace.org.uk', 'live.maidstone-hackspace.org.uk']) +ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['maidstone-hackspace.org.uk', 'live.maidstone-hackspace.org.uk', 'www.maidstone-hackspace.org.uk']) ALLOWED_HOSTS.append('127.0.0.1') ALLOWED_HOSTS.append('172.18.0.5')