I looked at your Allowed Hosts setting, which can cause the 500 error. Try this and tell me if it works:
ALLOWED_HOSTS = ['*.YOUR_DOMAIN.com',,'www.YOUR_DOMAIN.com', > '.compute-1.amazonaws.com'] > EC2_PRIVATE_IP = None > try: > EC2_PRIVATE_IP = > requests.get('http://169.254.169.254/latest/meta-data/local-ipv4', > timeout=0.01).text > except requests.exceptions.RequestException: > logger.info("EC2 private IP addition to allowed hosts failed to > resolve") > pass > if EC2_PRIVATE_IP: > ALLOWED_HOSTS.append(EC2_PRIVATE_IP) And read this: http://dryan.me/articles/elb-django-allowed-hosts/ > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.