Skip to content

Commit

Permalink
Use internal DNS name for EC2 instance to make security groups work.
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Feb 2, 2015
1 parent e49e4f7 commit 1d2a280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/production/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
SESSION_COOKIE_DOMAIN = "pmg.org.za"
RESULTS_PER_PAGE = 20

ES_SERVER = "http://elasticsearch.code4sa.org:9200"
ES_SERVER = "http://ec2-54-154-176-3.eu-west-1.compute.amazonaws.com:9200"
SEARCH_REINDEX_CHANGES = True # reindex changes to models
S3_BUCKET = "pmg-assets"
STATIC_HOST = "http://%s.s3-website-eu-west-1.amazonaws.com/" % S3_BUCKET
Expand Down

0 comments on commit 1d2a280

Please sign in to comment.