Uwsgi in osx

jyr nginx-forum at nginx.us
Tue Jun 7 02:05:09 MSD 2011


I try to configure uwsgi for python, but return the next error 
"uwsgi_pass" directive is not allowed here in
/Applications/MNPP/conf/nginx/sites-enabled/djangocms.local:12

upstream pythoncocoa {
    #server unix:/Applications/MNPP/tmp/uwsgi.sock;
    server 127.0.0.1:9001;
}

server {
    listen       80;
    server_name  django.local;
    root   /Applications/MNPP/htdocs/pythoncocoa;
    
    include /Applications/MNPP/conf/nginx/uwsgi_params;
    uwsgi_pass  pythoncocoa;
    
    access_log  /Applications/MNPP/logs/nginx/django.local.access.log;
    error_log  /Applications/MNPP/logs/nginx/django.local.error.log;
    
}

Any suggestions?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,204460,204460#msg-204460




More information about the nginx mailing list