Fix install docs, thanks @buenaventure

This commit is contained in:
Raphael Michel
2017-02-04 14:09:04 +01:00
parent 70ee678fef
commit 0dfca824e2

View File

@@ -236,13 +236,15 @@ The following snippet is an example on how to configure a nginx proxy for pretix
}
location /static/ {
alias /var/pretix/source/src/pretix/static.dist/;
alias /var/pretix/venv/lib/python3.5/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
above with your python version.
We recommend reading about setting `strong encryption settings`_ for your web server.