Django Gunicorn not load static files

前端 未结 3 1709
野趣味
野趣味 2020-12-10 13:51

i\'m trying to deploy my django project with gunicorn and nginx, but i need some help. when i code gunicorn myproject.wsgi:application I manage to see my website in the loca

3条回答
  •  攒了一身酷
    2020-12-10 14:16

    I have got this issue before. Try set static path in your Nginx configuration then grant permission of your project.

    sudo chmod -R 777 /webapps/yourweb/
    

    Try starting your server again. Hope it help.

提交回复
热议问题