Welcome! Log In Create A New Profile

Advanced

Re: How can I set a maximum limit for gzip module?

April 28, 2017 04:56AM
Hi tokers,

> nginx compresses the body by “chunk”
Thanks for explanation about gzip-module.
So, there were no errors when upstream response size exceeds the gzip_buffers_size.
But I think a lot of large responses exceed the prepared buffers, some day.
Is there any possibility of such a problem?

Thank you.


tokers Wrote:
-------------------------------------------------------
> There is no any directive like “gzip_max_length” so far.
> By the way, nginx compresses the body by “chunk”, so one “chunk” is an
> independtent compressed data.
>
>
> On 27 April 2017 at 13:27:42, t.nishiyori
> (nginx-forum@forum.nginx.org)
> wrote:
>
> Hello,
>
> I'm using nginx-1.11.2 for proxy server with gzip-module.
>
> I hope to use such like a "gzip_max_length" directive in
> ngx_http_gzip_module.
> Because some upstream response's sizes exceeded the settings of
> gzip_buffers.
> (But there were no error... These are strange things for me...)
>
> I can change the gzip_buffers to enough size for upstream, but there
> is no
> limit.
>
> Can I set a limit of maximum content-size for gzip module?
>
> Thank you.
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,273899,273899#msg-273899
>
> _______________________________________________
> 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

How can I set a maximum limit for gzip module?

t.nishiyori April 27, 2017 01:27AM

Re: How can I set a maximum limit for gzip module?

tokers April 27, 2017 02:20AM

Re: How can I set a maximum limit for gzip module?

t.nishiyori April 28, 2017 04:56AM

Re: How can I set a maximum limit for gzip module?

tokers April 28, 2017 05:56AM

Re: How can I set a maximum limit for gzip module?

t.nishiyori April 30, 2017 10:12PM

Re: How can I set a maximum limit for gzip module?

ru@nginx.com April 27, 2017 05:02AM

Re: How can I set a maximum limit for gzip module?

t.nishiyori April 28, 2017 04:55AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 226
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