Re: Django 1.6 Nginx with static files outside project folder

2014-09-22 Thread Collin Anderson
This looks right to me. Did you reload nginx? location /static { alias /webapps/sonar3/static; } Maybe this is messing it up? if (!-f $request_filename) If you turn off gunicorn, do you still get the static files? -- You received this message because you are subscribed to the Google Groups

Re: Django 1.6 Nginx with static files outside project folder

2014-09-22 Thread Florian Auer
Hi Yes thats correct, but i checked the static directory in /webapps/sonar3/static and the files for the admin page and the plugin specific files also are present here. But the system tries to load them from /webapps/sonar3/myproject/static. Am Samstag, 20. September 2014 00:55:40 UTC+2 schrieb

Re: Django 1.6 Nginx with static files outside project folder

2014-09-19 Thread Collin Anderson
so if you go to http://myproject.de:8001/static/some-file-in-myproject.css it works fine, but if you go to http://myproject.de:8001/static/admin/js/jquery.js you get a 404 Not Found? Are the files you're looking for actually in webapps/sonar3/static? -- You received this message because you a

Django 1.6 Nginx with static files outside project folder

2014-09-18 Thread Florian Auer
Hello. It seems im stuck in the try to deploy my django project, consisting of multiple apps, to the production server at the point of serving the static files from the preferred directory. system details: - CentOS 6.5 - Django 1.6.4 - green Unicorn python server - Nginx webserver - python 3.3.