08 Sep 2014
Django behind an Amazon Load Balancer
We had to configure django behind a AWS load balancer and that would mean that whenever the IP of the load balancer changes we would to change the ALLOWED_HOSTS in the settings section. Note: This is for the ELB health check. Some on the web suggest to circumvent the ALLOWED_HOSTS by simple allowing any host, which we didn’t want to do. So here is the solution I found on Daniel Ryan’s site:
Til next time,
E.E
at 16:58