Welcome! Log In Create A New Profile

Advanced

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

nik mur
November 02, 2017 04:32AM
Hi Maxim,

Thanks for the Tip.

It seems that PageSpeed Module was the culprit, after compiling
without PageSpeed, GZIP worked perfectly.

On Wed, Nov 1, 2017 at 6:03 PM Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Tue, Oct 31, 2017 at 04:51:31PM +0300, Valentin V. Bartenev 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.
>
> The message suggests that the directive is indeed unknown, not
> just used in a wrong context. When a directive is used in a wrong
> context, the message would be "is not allowed here" instead.
>
> In this particular case I would recommend to compile without any
> 3rd party modules, likely one of the 3rd party modules screwed up
> building due to incorrect hacks used in config script.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[Module] ngx_http_gzip issue : unknown directive "gzip"

nik mur October 30, 2017 06:34AM

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

tokers October 30, 2017 06:56AM

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

nik mur October 31, 2017 03:36AM

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

Valentin V. Bartenev October 31, 2017 09:52AM

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

nik mur October 31, 2017 10:04AM

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

Maxim Dounin November 01, 2017 08:34AM

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

nik mur November 02, 2017 04:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready