Skip to content

Commit

Permalink
ADD ALLOWED_HOST as real_site name/IP
Browse files Browse the repository at this point in the history
  • Loading branch information
dizwe committed Sep 3, 2017
1 parent dc04c2d commit 33ba162
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Fitter/settings/prod_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

DEBUG = False

ALLOWED_HOSTS += ['fitter.ap-northeast-2.elasticbeanstalk.com',]
ALLOWED_HOSTS += ['fitter.ap-northeast-2.elasticbeanstalk.com',
'52.78.12.85',
'fittingcal.com',]

"""DB"""
pymysql.install_as_MySQLdb() # pymysql이 MySQLdb처럼 동작토록 세팅
Expand Down

0 comments on commit 33ba162

Please sign in to comment.