add allowed host for production
This commit is contained in:
parent
4be2c9bf47
commit
db5d0ff25b
|
@ -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 \
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue