I have a Django webapp. It runs inside Docker on Elastic Beanstalk.
I\'d like to specify a health check URL for slightly more advanced health checking than \"can the
This is what I use, and it works well:
import socket local_ip = str(socket.gethostbyname(socket.gethostname())) ALLOWED_HOSTS=[local_ip, '.mydomain.com', 'mydomain.elasticbeanstalk.com' ]
where you replace mydomain and mydomain.elasticbeanstalk.com with your own.
mydomain
mydomain.elasticbeanstalk.com