[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: [Module] ngx_http_gzip issue : unknown directive "gzip"
From:       nik mur <nikhil6018 () gmail ! com>
Date:       2017-10-31 14:02:25
Message-ID: CAC9_r5PeHdF2tn-cUBgPByP=ZXFH7pc9JubWxBp3A4F6TbH78Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Valentin,

My Nginx installs in /usr/local/apps

So the gzip.conf file is included from the nginx.conf in the
/usr/local/apps/nginx/etc/
directory, so no issues there.

This is very strange behavior no errors while building and even the error
logs are not helpful, the same structure and configure script works for
1.10 and below.

I am really banging my head over this, would be really helpful if you or
anyone can point me in the right direction to debug this.

On Tue, Oct 31, 2017 at 7:21 PM Valentin V. Bartenev <vbart@nginx.com>
wrote:

> On Monday 30 October 2017 10:33:55 nik mur wrote:
> > Hi,
> >
> > Recently I upgraded my nginx to 1.12 version from 1.10 branch.
> >
> > The build from source went through without any issues, but while starting
> > Nginx I am receiving this error:
> >
> > *>>[emerg] 342#342: unknown directive "gzip" in
> > /usr/local/apps/nginx/etc/conf.d/gzip.conf:2*
> >
> [..]
>
> You should check your full configuration.  It's unclear where this "gzip"
> directive is included.
>
> Please note, there's no such directive in mail and stream modules.
>
>   wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi  Valentin,<div><br></div><div>My Nginx installs in \
/usr/local/apps</div><div><br></div><div>So the gzip.conf file is included from the \
nginx.conf in the  <span style="color:rgb(33,33,33)">  </span><span \
style="color:rgb(33,33,33)">/usr/local/apps/nginx/etc/ directory, so no issues \
there.</span></div><div><span style="color:rgb(33,33,33)"><br></span></div><div><span \
style="color:rgb(33,33,33)">This is very strange behavior no errors while building \
and even the error logs are not helpful, the same structure and configure script \
works for 1.10 and below.</span></div><div><span \
style="color:rgb(33,33,33)"><br></span></div><div><span style="color:rgb(33,33,33)">I \
am really banging my head over this, would be really helpful if you or anyone can \
point me in the right direction to debug this.  </span></div></div><br><div \
class="gmail_quote"><div dir="ltr">On Tue, Oct 31, 2017 at 7:21 PM Valentin V. \
Bartenev &lt;<a href="mailto:vbart@nginx.com">vbart@nginx.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Monday 30 October 2017 10:33:55 \
nik mur wrote:<br> &gt; Hi,<br>
&gt;<br>
&gt; Recently I upgraded my nginx to 1.12 version from 1.10 branch.<br>
&gt;<br>
&gt; The build from source went through without any issues, but while starting<br>
&gt; Nginx I am receiving this error:<br>
&gt;<br>
&gt; *&gt;&gt;[emerg] 342#342: unknown directive &quot;gzip&quot; in<br>
&gt; /usr/local/apps/nginx/etc/conf.d/gzip.conf:2*<br>
&gt;<br>
[..]<br>
<br>
You should check your full configuration.   It&#39;s unclear where this \
&quot;gzip&quot;<br> directive is included.<br>
<br>
Please note, there&#39;s no such directive in mail and stream modules.<br>
<br>
   wbr, Valentin V. Bartenev<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" \
target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br> \
</blockquote></div>



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic