The question on the uwsgi and Mercurial

ronin nginx-forum at nginx.us
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
--add-module=/var/lib/gems/1.8/gems/passenger-3.0.0/ext/nginx

nginx site profile:
server {
         listen 80;
         server_name hg.repos.net;
	location / {
 		            root   /hg/repos;
	             	uwsgi_pass 127.0.0.1:3032;
 		            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
/etc/nginx/sites-enabled/hg_repos:7
configuration file /etc/nginx/nginx.conf test failed

Who can tell me how to deal with the problem?

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




More information about the nginx mailing list