<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">Hi,</div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">I am trying to set up a nginx server to support chunking. I followed the steps mentioned in the below webpage to use the feature</div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><a href="http://wiki.nginx.org/HttpChunkinModule">http://wiki.nginx.org/HttpChunkinModule</a></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">My nginx version is 1.4.1. According to the above link, I don’t need to build chunking module separate as it is already built into the core. But I am getting below error in my logs when I start nginx service</div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div style="font-size: 14px; font-family: Calibri, sans-serif;"><p style="margin: 0px; font-size: 11px; font-family: Menlo;"><font color="#ff0000">2014/11/26 12:39:03 [emerg] 14634#0: unknown directive "chunkin" in /usr/local/test/etc/nginx/nginx.conf:46</font></p></div><div><p style="font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); margin: 0px;">Below is my server configuration</p><p style="font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); margin: 0px;"><br></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">server {</font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">       listen   10.142.54.20:7549;</font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">       server_name   test-lnx;</font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">       chunkin on;</font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px; min-height: 13px;"><font color="#ff0000"><br></font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">       location /images/ {</font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">         root   /opt;</font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px; min-height: 13px;"><font color="#ff0000"><br></font></p><p style="font-size: 11px; font-family: Menlo; margin: 0px;">







</p><p style="font-size: 11px; font-family: Menlo; margin: 0px;"><font color="#ff0000">        }</font></p></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">Find below the output for nginx command for –v and –V options.</div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><span style="color: rgb(255, 0, 0); font-family: Menlo; font-size: 11px;">[root@test-lnx sbin]# ./nginx -v</span></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><p style="margin: 0px; font-size: 11px; font-family: Menlo;"></p><p style="margin: 0px; font-size: 11px; font-family: Menlo;"><font color="#ff0000">nginx version: nginx/1.4.1</font></p></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div><div><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000">[root@test-lnx sbin]# ./nginx -V</font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000">nginx version: nginx/1.4.1</font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000">built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) </font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000">TLS SNI support enabled</font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000">configure arguments: --user=nginx --group=nginx --prefix=/usr/local/panorama/nginx --lock-path=/var/lock/subsys/nginx --error-log-path=/usr/local/panorama/var/log/nginx/error.log --http-log-path=/usr/local/panorama/var/log/nginx/access.log --without-http_autoindex_module --without-http_fastcgi_module --with-http_ssl_module --without-http_geo_module --without-http_empty_gif_module --without-http_ssi_module --without-http_userid_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --without-http_uwsgi_module --without-http_scgi_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module</font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000"><br></font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000"><br></font></p><p style="margin: 0px;">Do I need to explicitly any options to use Chunkin module? Is there anything wrong with my configuration. </p><p style="margin: 0px;"><br></p><p style="margin: 0px;">Regards,</p><p style="margin: 0px;">Arun</p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><font color="#ff0000"><br></font></p><p style="font-family: Menlo; font-size: 11px; margin: 0px;"><br></p></div><div style="font-size: 14px; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);"><br></div></body></html>