add paths for library static files

This commit is contained in:
Simon 2024-12-21 09:58:41 +07:00
parent 42f1679502
commit e18f176759
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,15 @@ server {
uwsgi_pass localhost:8080;
}
location /admin {
include uwsgi_params;
uwsgi_pass localhost:8080;
}
location /static/ {
alias /app/staticfiles/;
}
root /app/static;
index index.html;