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.
This commit is contained in:
Fabian
2021-06-01 08:16:42 +02:00
committed by GitHub
parent 520fb62088
commit 0b9b67d603

View File

@@ -251,14 +251,14 @@ The following snippet is an example on how to configure a nginx proxy for pretix
} }
location /static/ { 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; access_log off;
expires 365d; expires 365d;
add_header Cache-Control "public"; 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. above with your python version.
We recommend reading about setting `strong encryption settings`_ for your web server. We recommend reading about setting `strong encryption settings`_ for your web server.