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
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
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
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.
4 matches
Mail list logo