diff --git a/compose/django/Dockerfile b/compose/django/Dockerfile index 181d533..6d9fde2 100644 --- a/compose/django/Dockerfile +++ b/compose/django/Dockerfile @@ -25,7 +25,7 @@ RUN sed -i 's/\r//' /entrypoint.sh \ && sed -i 's/\r//' /live-gunicorn-mhackspace.sh \ && chmod +x /entrypoint.sh \ && chown django /entrypoint.sh \ - && chmod +x /stage-gunicorn-mahckspace.sh \ + && chmod +x /stage-gunicorn-mhackspace.sh \ && chown django /stage-gunicorn-mhackspace.sh \ && chmod +x /live-gunicorn-mhackspace.sh \ && chown django /live-gunicorn-mhackspace.sh \ diff --git a/config/settings/production.py b/config/settings/production.py index 6be238d..9213869 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -51,7 +51,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']) +ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['maidstone-hackspace.org.uk', 'live.maidstone-hackspace.org.uk']) ALLOWED_HOSTS.append('127.0.0.1') ALLOWED_HOSTS.append('172.18.0.5')