{ "info": { "author": "Jannis Leidel", "author_email": "jannis@leidel.info", "bugtrack_url": null, "classifiers": [], "description": "ressl\n=====\n\nA simple `importd`_ based SSL redirector. It accepts requests and redirects\nto the SSL version of the same page.\n\nWhy?\n----\n\nI needed something like this for a couple of sites that were hosted on a\nshared hosting provider but I wanted to only have one process doing the\nSSL redirects.\n\nUsage\n-----\n\nSimply run::\n\n ressl\n\nThis launches ``ressl`` on port 8000 using Django's runserver management\ncommand.\n\nFor production use it's **strongly** recommended to instead use a real\nWSGI server like gunicorn_ or uWSGI_ , e.g.::\n\n gunicorn ressl\n\nTo use a different port, use the server's options, e.g.::\n\n gunicorn -b 127.0.0.1:12345 ressl\n\nYou must set at least one envrionment variable for ressl to work:\n``RESSL_ALLOWED_HOSTS``. It's a comma separated list of host names\nressl is allowed to redirect, e.g.::\n\n RESSL_ALLOWED_HOSTS=mycompany.com,myblog.me,myphotos.com gunicorn -b 127.0.0.1:12345 ressl\n\nDebugging is done by setting the environment variable ``RESSL_DEBUG``\nto any value::\n\n RESSL_DEBUG=yep gunicorn -b 127.0.0.1:12345 ressl\n\nIf your site runs behind a proxy, you may have to tell ``ressl`` how to\nfigure out if a request is SSL or not. Use the ``RESSL_PROXY_PROTOCOL``\nenvironment variable to define it (defaults to\n``'HTTP_X_FORWARDED_PROTOCOL'``)::\n\n RESSL_PROXY_PROTOCOL=HTTP_X_FORWARDED_PROTO gunicorn ressl\n\nFeedback\n--------\n\nFeel free to open tickets at https://github.com/jezdez/ressl/issues.\nSay thanks at https://www.gittip.com/jezdez/.\n\n.. _gunicorn: http://gunicorn.org/\n.. _uWSGI: https://github.com/unbit/uwsgi\n.. _importd: http://pythonhosted.org/importd/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jezdez/ressl/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "ressl", "package_url": "https://pypi.org/project/ressl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ressl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/jezdez/ressl/" }, "release_url": "https://pypi.org/project/ressl/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A SSL redirector for shared hosting environments, e.g. Webfaction", "version": "0.2.1" }, "last_serial": 839745, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f7a1cdde92c1a62b6bac7c12a5ecf306", "sha256": "6cb438e544862af373fd070434fffdf4e29b077ae7f1dbfe154a9f15d327bb93" }, "downloads": -1, "filename": "ressl-0.1.tar.gz", "has_sig": true, "md5_digest": "f7a1cdde92c1a62b6bac7c12a5ecf306", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2279, "upload_time": "2013-08-13T09:35:03", "url": "https://files.pythonhosted.org/packages/51/81/72f94727fff91637207b7575e6ca68c98a4cf996f4a5731953a2548f1630/ressl-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "fc7b238fbbd697777890979befa6e057", "sha256": "b7ab7881bcbc7b1f3a8dea7dcac75d23a1c5e1f3e921307d323ca675c1a42bd2" }, "downloads": -1, "filename": "ressl-0.2.tar.gz", "has_sig": true, "md5_digest": "fc7b238fbbd697777890979befa6e057", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2512, "upload_time": "2013-08-13T09:58:04", "url": "https://files.pythonhosted.org/packages/13/f5/eb65688788ee2f58da004089aa4eada0278490ac25f4c18f5a969fb01e53/ressl-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "085a404e2e1f781ab55d1ab900b618fc", "sha256": "a5b137db3734476a820d50fc1bfb8d04ba8650adb088722b3694b39084e374cc" }, "downloads": -1, "filename": "ressl-0.2.1.tar.gz", "has_sig": true, "md5_digest": "085a404e2e1f781ab55d1ab900b618fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2524, "upload_time": "2013-08-14T09:50:05", "url": "https://files.pythonhosted.org/packages/b9/eb/a944cd61103c10faa1d74eb4c05d5f2c4a7e3df76ee133accb960ea9f474/ressl-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "085a404e2e1f781ab55d1ab900b618fc", "sha256": "a5b137db3734476a820d50fc1bfb8d04ba8650adb088722b3694b39084e374cc" }, "downloads": -1, "filename": "ressl-0.2.1.tar.gz", "has_sig": true, "md5_digest": "085a404e2e1f781ab55d1ab900b618fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2524, "upload_time": "2013-08-14T09:50:05", "url": "https://files.pythonhosted.org/packages/b9/eb/a944cd61103c10faa1d74eb4c05d5f2c4a7e3df76ee133accb960ea9f474/ressl-0.2.1.tar.gz" } ] }