Issue with multipart response compression.

Makailol Charls makailol7 at gmail.com
Tue Jan 28 06:56:04 UTC 2014


Thanks for your suggestion . It is possible for me to implement.

Regards,
Makailol


On Mon, Jan 27, 2014 at 11:20 AM, Igor Sysoev <igor at sysoev.ru> wrote:

> On Jan 21, 2014, at 9:58 , Makailol Charls wrote:
>
> Hello
>
> I use Nginx/1.4.4 as a reverse proxy and my backend webserver generates
> multipart response with some dynamic boundary.
>
> I use nginx gzip module to send compress data to the client but it is
> unable to compress this multipart response which contains dynamic boundary
> in content_type.
>
> If I use gzip_type as below, it doesn't work.
> gzip_types     'multipart/mixed';
>
> If I include boundary in gzip_type, it works fine but boundary is dynamic
> in my case.
> gzip_types    'multipart/mixed; boundary="Ajm,e3pN"' ;
>
> Can someone suggest solution for this?
>
>
> If you can limit these responses in location then
>
> location /uri {
>    gzip_types  *;
>    ..
> }
>
>
> --
> Igor Sysoev
> http://nginx.com
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140128/4eec1076/attachment.html>


More information about the nginx mailing list