From 0b9b67d6039d159e7411ae1eae76a218d6c79e27 Mon Sep 17 00:00:00 2001 From: Fabian <11352551+fabm3n@users.noreply.github.com> Date: Tue, 1 Jun 2021 08:16:42 +0200 Subject: [PATCH] Docs: Update Python Version in Nginx Config (#2101) Debian 10 is shipping with Python 3.7 so the Debian 10 based and tested guide should use Python 3.7 in the nginx config. --- doc/admin/installation/manual_smallscale.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/admin/installation/manual_smallscale.rst b/doc/admin/installation/manual_smallscale.rst index c19425a2a..6a55d3592 100644 --- a/doc/admin/installation/manual_smallscale.rst +++ b/doc/admin/installation/manual_smallscale.rst @@ -251,14 +251,14 @@ The following snippet is an example on how to configure a nginx proxy for pretix } location /static/ { - alias /var/pretix/venv/lib/python3.5/site-packages/pretix/static.dist/; + alias /var/pretix/venv/lib/python3.7/site-packages/pretix/static.dist/; access_log off; expires 365d; add_header Cache-Control "public"; } } -.. note:: Remember to replace the ``python3.5`` in the ``/static/`` path in the config +.. note:: Remember to replace the ``python3.7`` in the ``/static/`` path in the config above with your python version. We recommend reading about setting `strong encryption settings`_ for your web server.