Problem encountered - denmgarcia/Django-with-Nginx GitHub Wiki

location /static/ {
root /home/your static directory after running ; # python manage.py collectstatic
}

alias was not working so I change it to root and it works now


$ find . -name ".pyc" -print
$ find . -name "
.pyc" -delete

it deletes .pyc