{ "info": { "author": "Sam Kingston", "author_email": "sam@sjkwi.com.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# django-ebhealthcheck\n\nBy default, Elastic Beanstalk's health check system uses the public IP of each\nload balanced instance as the request's host header when making a request.\nUnless added to `ALLOWED_HOSTS`, this causes Django to return a `400 Bad\nRequest` and a failed health check.\n\nThis app dynamically adds your instance's public IP address to Django's\n`ALLOWED_HOSTS` setting to permit health checks to succeed.\n\nNote this only adds the host to settings - the health check system still\nrequires `/` to return `200 OK`, unless configured differently in EB.\n\n## Installation\n\nSimply add `ebhealthcheck.apps.EBHealthCheckConfig` to your `INSTALLED_APPS`:\n\n```\nINSTALLED_APPS = [\n ...\n 'ebhealthcheck.apps.EBHealthCheckConfig',\n ...\n]\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sjkingo/django-ebhealthcheck", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-ebhealthcheck", "package_url": "https://pypi.org/project/django-ebhealthcheck/", "platform": "", "project_url": "https://pypi.org/project/django-ebhealthcheck/", "project_urls": { "Homepage": "https://github.com/sjkingo/django-ebhealthcheck" }, "release_url": "https://pypi.org/project/django-ebhealthcheck/1.0.1/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Django app to add an instance's public IP to ALLOWED_HOSTS for Elastic Beanstalk's health check system", "version": "1.0.1" }, "last_serial": 4919696, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "9378109a47fdc1e4d3eb98998390ecb5", "sha256": "5fdeefd72fdda4fd9ea52bdd940debbc2026142b64d235b968cf1be77ee2a2e3" }, "downloads": -1, "filename": "django_ebhealthcheck-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9378109a47fdc1e4d3eb98998390ecb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2551, "upload_time": "2019-03-09T21:23:59", "url": "https://files.pythonhosted.org/packages/82/63/947de8aa56ee0431a2cf0e6fcccd63837b520d552579f1c35e3b10696b5e/django_ebhealthcheck-1.0.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9378109a47fdc1e4d3eb98998390ecb5", "sha256": "5fdeefd72fdda4fd9ea52bdd940debbc2026142b64d235b968cf1be77ee2a2e3" }, "downloads": -1, "filename": "django_ebhealthcheck-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9378109a47fdc1e4d3eb98998390ecb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2551, "upload_time": "2019-03-09T21:23:59", "url": "https://files.pythonhosted.org/packages/82/63/947de8aa56ee0431a2cf0e6fcccd63837b520d552579f1c35e3b10696b5e/django_ebhealthcheck-1.0.1-py2.py3-none-any.whl" } ] }