# The question on the uwsgi and Mercurial

**URL:** <https://www.ruby-forum.com/t/the-question-on-the-uwsgi-and-mercurial/199078>\
**Category:** NGINX\
**Created:** [November 14, 2010, 8:33am UTC](https://www.ruby-forum.com/t/the-question-on-the-uwsgi-and-mercurial/199078 "2010-11-14T08:33:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 14, 2010, 8:33am UTC](https://www.ruby-forum.com/t/the-question-on-the-uwsgi-and-mercurial/199078/1 "2010-11-14T08:33:19Z")

</div>

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](http://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:

> **[The question on the uwsgi and Mercurial](https://forum.nginx.org/read.php?2,150650,150650#msg-150650)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![ronin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ad7895/32.png) [@ronin](https://www.ruby-forum.com/u/ronin)\
**Post date:** [November 14, 2010, 8:47am UTC](https://www.ruby-forum.com/t/the-question-on-the-uwsgi-and-mercurial/199078/2 "2010-11-14T08:47:42Z")

</div>

Sorry, wrong because I have been using apt-get install nginx nginx  
installed

Posted at Nginx Forum:

> **[Re: The question on the uwsgi and Mercurial](https://forum.nginx.org/read.php?2,150650,150651#msg-150651)**
>
> 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...
