if (!-f $request_filename) {
proxy_pass http://django_mysite_com;
}
If the file doesn't exist, pass it to the backend. Your Django
installation refers to ^static which is not located at:
/home/usr10/var/www/domains/mysite.com/public_html/static
Therefore, nginx passes the request to django which rewrites the url
and serves the content.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.