mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-10-29 02:46:37 +00:00
Merge pull request #59 from meomancer/update-setting
update prod setting to receive PROXY_ALLOWED_HOSTS
This commit is contained in:
commit
65ff41b0fb
2 files changed
+6
No files matched your search
@@ -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
|
||||
|
||||
@@ -97,3 +97,8 @@ if 'raven.contrib.django.raven_compat' in INSTALLED_APPS:
|
||||
},
|
||||
},
|
||||
}
|
||||
PROXY_ALLOWED_HOSTS = (
|
||||
os.environ.get(
|
||||
'PROXY_ALLOWED_HOSTS',
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user