Welcome! Log In Create A New Profile

Advanced

Uwsgi in osx

jyr
June 06, 2011 06:05PM
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?
Subject Author Posted

Uwsgi in osx

jyr June 06, 2011 06:05PM

Re: Uwsgi in osx

Maxim Dounin June 06, 2011 06:34PM

Re: Uwsgi in osx

jyr June 06, 2011 07:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready