Add IP addresses for app frontends to ALLOWED_HOSTS.

(imported from commit f5cc75f0ac3851bfe9a554d08875dcb5a19a9dc5)
This commit is contained in:
Tim Abbott 2013-04-02 14:14:29 -04:00
parent d8bed8dc08
commit 24a464cee1
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ TEST_SUITE = False
if DEBUG:
INTERNAL_IPS = ('127.0.0.1',)
if DEPLOYED:
ALLOWED_HOSTS = ['localhost', '.humbughq.com']
# The IP addresses are for app.humbughq.com and staging.humbughq.com
ALLOWED_HOSTS = ['localhost', '.humbughq.com', '54.245.10.122', '54.245.120.64']
else:
ALLOWED_HOSTS = ['localhost']