mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 22:07:11 +00:00
added static setup
This commit is contained in:
@@ -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).
|
(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
|
Unlike the "runserver" method, apache requires a restart before it will use
|
||||||
any changed files:
|
any changed files:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user