diff --git a/uwsgi-python/templates/uwsgi.ini.j2 b/uwsgi-python/templates/uwsgi.ini.j2 index 8686c8dd95f47bee9b1d7752986d04e95066288d..646e3e790f89f1375cb2f54f5a1dd6a1e2de8c97 100644 --- a/uwsgi-python/templates/uwsgi.ini.j2 +++ b/uwsgi-python/templates/uwsgi.ini.j2 @@ -44,10 +44,12 @@ log-x-forwarded-for = {% if app_python_version == 2 %} plugin = python27 {% elif app_python_version == 3 %} -{% if debian_version == "stretch" %} +{% if ansible_distribution_release == "stretch" %} plugin = python35 -{% elif debian_version == "buster" %} +{% elif ansible_distribution_release == "buster" %} plugin = python37 +{% elif ansible_distribution_release == "bullseye" %} +plugin = python39 {% endif %} {% endif %} {% if app_venv != '' %}