Problem in first usage of nginx

Hello,
I have several questions about using NginX.

After I first install nginx-0.8.41 in Ubuntu 8.04 system, with the
default
.conf file.
I start nginx with 127.0.0.1:8000, however, I can not see the default
webpage. The browser can not connect to server.
Could anyone help me to figure it out?

I am following the instructions in
http://wiki.nginx.org/HttpChunkinModule

to configure nginx.
when I start nginx, I encounter the error:
[emerg]: unknown directive “chunkin” in ./conf/nginx.conf:36

The line is
35 server {
36 chunkin on;
37 listen 127.0.0.1:8000;

Thanks,
Yanxin

Hello Yanxin,

starts nginx if you not set the chunkin on; option?

Chunkin is no build in option, you must build ngnix from source. Use

–add-module=/path/to/chunkin-nginx-module

while you configure…Described here:

http://wiki.nginx.org/HttpChunkinModule#Installation

If you already do this, please show us the output from

nginx -V

Cheers,
Alexander

On Fri, Mar 25, 2011 at 4:03 AM, Yanxin Z. [email protected] wrote:

http://wiki.nginx.org/HttpChunkinModule
to configure nginx.
when I start nginx, I encounter the error:
[emerg]: unknown directive “chunkin” in ./conf/nginx.conf:36

Are you sure you are using the nginx instance that you build yourself?

By default, nginx will be installed into /usr/local/nginx/. Ensure
you’re using this nginx instead of the nginx shipped by your OS
vender. You can use the absolute path of your nginx:

/usr/local/nginx/sbin/nginx -c /path/to/your/nginx.conf

Cheers,
-agentzh

(http://wiki.nginx.org/HttpChunkinModule)
http://wiki.nginx.org/HttpChunkinModule
(http://wiki.nginx.org/HttpChunkinModule)
This module is not distributed with the Nginx source. See the
installation instructions
(http://wiki.nginx.org/HttpChunkinModule#Installation) .

Thu, 24 Mar 2011 13:03:36 -0700 Yanxin Z. [email protected]:

Hello, I have several questions about using NginX.

  1. After I first install nginx-0.8.41 in Ubuntu 8.04 system, with the
    default .conf file. I start nginx with 127.0.0.1:8000, however, I can
    not see the default webpage. The browser can not connect to server.
    Could anyone help me to figure it out?

I am following the instructions in
(http://wiki.nginx.org/HttpChunkinModule)
http://wiki.nginx.org/HttpChunkinModule
(http://wiki.nginx.org/HttpChunkinModule)
to configure nginx. when I start nginx, I encounter the error: [emerg]:
unknown directive “chunkin” in ./conf/nginx.conf:36
The line is 35 server { 36 chunkin on; 37 listen
127.0.0.1:8000;

Thanks,Yanxin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs