Welcome! Log In Create A New Profile

Advanced

Re: [nginx] Vary header is repeated twice in response

Makailol Charls
April 03, 2014 12:16AM
Hi,

I have been facing similar issue of header duplication. Is there any
solution for this?

Thanks,
Makailol


On Tue, Apr 1, 2014 at 4:34 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Tue, Apr 01, 2014 at 02:54:56PM +0400, Yury Kirpichev wrote:
>
> > Hi,
> >
> > I've got an issue that "Vary" header is repeated twice in response when
> > "gzip_vary on" is specified in config file;
> >
> > My configuration is the following:
> > Two instances of nginx are running on different hosts (A and B)
> > There is
> > location /smth/ {
> > proxy_pass http://B/smth;
> > }
> >
> > and
> > gzip_vary on;
> > in config for host A.
> >
> > B adds "Vary: Accept-Encoding" in response for http://B/smth
> >
> > And then if http://A/smth request is performed "Vary" header is returned
> > twice in response.
> > < Connection: keep-alive
> > < Vary: Accept-Encoding
> > < Vary: Accept-Encoding
> > < date: Tue, 01 Apr 2014 10:02:27 GMT
> > < expires: Tue, 01 Apr 2014 10:07:27 GMT
> > < server: nginx/1.4.4
> >
> >
> > Could you please help me to resolve this problem? Is it known issue or it
> > is normal behaviour or may be something wrong on my side?
>
> This is certainly not relevant to nginx-devel@, please use nginx@
> mailing list for such questions (Cc'd).
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> 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

Re: [nginx] Vary header is repeated twice in response

Maxim Dounin April 01, 2014 07:06AM

Re: [nginx] Vary header is repeated twice in response

Makailol Charls April 03, 2014 12:16AM



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