mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
bugfix nginx.conf
This commit is contained in:
parent
2cefc9bb14
commit
52b0a6e58b
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
|
|
||||||
location __PATH__/static/ {
|
location __PATH__/static/ {
|
||||||
# Django static files
|
# Service static files by nginx
|
||||||
alias __PUBLIC_PATH__/static/;
|
# e.g.: /var/www/$app/static
|
||||||
|
alias __FINALPATH__/static/;
|
||||||
expires 30d;
|
expires 30d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue