404 Error on CSS files when visiting non-www address
Have configured nginx to serve both a static webpage and a Django app through uwsgi.
When I visit myapp.com I get 404 on my CSS and JS files. If I go to www.myapp.com everything is just fine.
How is that and what and how do I fix it?