Possible gzip_vary bug? (v1.5.1)

Fleshgrinder nginx-forum at nginx.us
Wed Jun 19 12:52:14 UTC 2013


I'm running the latest development version of nginx and gzipping is working.
But no Vary Accept-Encoding header is added to any gzip response. The
gzip_http_version isn't affecting the behavior, no matter if I set it to 1.0
or 1.1 no header is sent. Even if I add the header myself via the add_header
directive, nothing.

If I use PHP to add the header it's there. Any ideas what the problem could
be?

My configure options:
https://github.com/MovLib/www/blob/master/conf/install-scripts/nginx.sh
My configuration: https://github.com/MovLib/www/tree/master/conf/nginx
Specifically the gzip configuration:
https://github.com/MovLib/www/blob/master/conf/nginx/conf/gzip.conf

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240214,240214#msg-240214



More information about the nginx mailing list