Split up static files into static and django_static
This commit is contained in:
parent
3a9b2c25e7
commit
0f4b1d9da2
22 changed files with 9 additions and 4 deletions
|
@ -17,7 +17,11 @@
|
|||
}
|
||||
# static files
|
||||
file_server /static/* {
|
||||
root {$DATADIR}/static/..
|
||||
root {$ROOTDIR}
|
||||
}
|
||||
# django static files
|
||||
file_server /django_static/* {
|
||||
root {$DATADIR}/django_static/..
|
||||
}
|
||||
# favicon
|
||||
redir /favicon.ico /static/favicon.ico
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue