Welcome! Log In Create A New Profile

Advanced

The question on the uwsgi and Mercurial

November 14, 2010 02:32AM
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?
Subject Author Posted

The question on the uwsgi and Mercurial

ronin November 14, 2010 02:32AM

Re: The question on the uwsgi and Mercurial

ronin November 14, 2010 02:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
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