2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 14:51:51 +00:00

added static setup

This commit is contained in:
Philip Sargent 2020-06-06 23:03:37 +01:00
parent 538a3b6ca8
commit 8c965015f3

View File

@ -265,6 +265,12 @@ ScriptAlias /repositories /home/expo/config/apache/services/hgweb/hgweb.cgi
(The last is just for mercurial which will be remoived during 2020).
These two are not necessary as Django will serve these (see urls.py), but
it may be very slightly faster for apache to serve them first:
Alias /expofiles /home/expo/expofiles
Alias /static/ /home/expo/static/
Unlike the "runserver" method, apache requires a restart before it will use
any changed files: