Split up static files into static and django_static

This commit is contained in:
Julian Müller (ChaoticByte) 2024-02-13 18:01:40 +01:00
parent 3a9b2c25e7
commit 0f4b1d9da2
22 changed files with 9 additions and 4 deletions

View file

@ -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