Merge pull request #59 from meomancer/update-setting

update prod setting to receive PROXY_ALLOWED_HOSTS
This commit is contained in:
Dimas Ciputra authored and GitHub committed 2017-10-02 18:10:43 +07:00
commit 65ff41b0fb
2 files changed
+6

No files matched your search

+1
View File
@@ -48,6 +48,7 @@ services:
- DJANGO_SETTINGS_MODULE=core.settings.prod_docker
- VIRTUAL_HOST=haitidata.com
- VIRTUAL_PORT=8080
- PROXY_ALLOWED_HOSTS=0.0.0.0
# Ensure to change these based on server domain
- SITEURL=http://0.0.0.0:33300/ # change this to ip or domain location
+5
View File
@@ -97,3 +97,8 @@ if 'raven.contrib.django.raven_compat' in INSTALLED_APPS:
},
},
}
PROXY_ALLOWED_HOSTS = (
os.environ.get(
'PROXY_ALLOWED_HOSTS',
)
)