Metadata-Version: 2.5
Name: tutor-contrib-redirect
Version: 22.0.0
Summary: Easily redirect www to non-www LMS host
Project-URL: Code, https://github.com/aulasneo/tutor-contrib-redirect
Project-URL: Issues, https://github.com/aulasneo/tutor-contrib-redirect/issues
Author-email: Andres Gonzalez <andres@aulasneo.com>
License: AGPLv3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: tutor<23.0.0,>=22.0.0
Provides-Extra: dev
Requires-Dist: black; extra == 'dev'
Requires-Dist: build; extra == 'dev'
Requires-Dist: isort; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pkginfo>=1.12.0; extra == 'dev'
Requires-Dist: pylint; extra == 'dev'
Requires-Dist: twine>=6.2.0; extra == 'dev'
Description-Content-Type: text/x-rst

redirect plugin for `Tutor <https://docs.tutor.edly.io>`__
##########################################################

Easily redirect www to non-www LMS host in Kubernetes deployments of Open edX.

Requires nginx-ingress and cert-manager, as used by `Harmony <https://github.com/openedx/openedx-k8s-harmony>`_


Installation
************

.. code-block:: bash

    pip install git+https://github.com/aulasneo/tutor-contrib-redirect.git

Usage
*****

.. code-block:: bash

    tutor plugins enable redirect
    tutor k8s launch

By default, the subdomain redirected is ``www``. If you want something else, set ``REDIRECT_SUBDOMAIN``.

License
*******

This software is licensed under the terms of the AGPLv3.
