[Module] ngx_http_gzip issue : unknown directive "gzip"

Valentin V. Bartenev vbart at nginx.com
Tue Oct 31 13:51:31 UTC 2017


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



More information about the nginx mailing list