Daniel Bornkessel
April 11, 2011 09:16AM
Hi,
while using nginx & varnish together we had problems when setting a 'Vary' header in our app when nginx is configured with

gzip_vary on;

as nginx's created response contain two 'Vary' header entries:

Vary: Accept-Encoding
Vary: X-Special


however, several clients, including Varnish, don't understand this. Instead they need one header entry:

Vary: Accept-Encoding, X-Special

this is a patch that achieves this behavior. Is there any chance getting this patch into upstream?

Thanks


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Patch: avoid multiple vary header entries Attachments

Daniel Bornkessel 3564 April 11, 2011 09:16AM

Re: Patch: avoid multiple vary header entries

Maxim Dounin 1438 April 11, 2011 09:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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