| From | Sent On | Attachments |
|---|---|---|
| jyr | Jun 6, 2011 3:04 pm | |
| Maxim Dounin | Jun 6, 2011 3:32 pm | |
| jyr | Jun 6, 2011 4:23 pm |
| Subject: | Uwsgi in osx | |
|---|---|---|
| From: | jyr (ngin...@nginx.us) | |
| Date: | Jun 6, 2011 3:04:35 pm | |
| List: | ru.sysoev.nginx | |
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
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





