The question on the uwsgi and Mercurial

ronin nginx-forum at
Sun Nov 14 10:32:11 MSK 2010

Environment: ubuntu10:10     nginx0.8.53

nginx compile parameters:
./configure --user=www-data --group=www-data --prefix=/
--with-http_stub_status_module --with-http_ssl_module
--with-http_perl_module --with-sha1=/usr/lib

nginx site profile:
server {
         listen 80;
	location / {
 		            root   /hg/repos;
 		            include uwsgi_params;
 		            uwsgi_param SCRIPT_NAME /;

Run the command: /etc/init.d/nginx start

Error log:
Starting nginx: [emerg]: unknown directive "uwsgi_pass" in
configuration file /etc/nginx/nginx.conf test failed

Who can tell me how to deal with the problem?

Posted at Nginx Forum:,150650,150650#msg-150650

More information about the nginx mailing list