Re: Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
django-developers is not a support channel. Email support requests to *only* django-users. On Sat, Nov 5, 2022 at 7:34 AM Nishant Sagar wrote: > Hi all, > > I deployed the django project to AWS ec2 instance using nginx and gunicorn > but the static file is not loading at all. > > Can someone

Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread Nishant Sagar
Hi all, I deployed the django project to AWS ec2 instance using nginx and gunicorn but the static file is not loading at all. Can someone suggest where did I do wrong? Note - I've not created Profile before deploying Here is my settings.py file STATIC_URL = 'static/' STATIC_ROOT =