January 27, 2014 12:52AM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Issue with multipart response compression.

Makailol Charls January 21, 2014 01:00AM

Re: Issue with multipart response compression.

Makailol Charls January 26, 2014 11:32PM

Re: Issue with multipart response compression.

Igor Sysoev January 27, 2014 12:52AM

Re: Issue with multipart response compression.

Makailol Charls January 28, 2014 01:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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