Why does nginx always send content encoding as gzip

c0nw0nk nginx-forum at forum.nginx.org
Thu Oct 6 04:28:36 UTC 2016

You should check your application sounds like that is compressing its

A simple test is this create a empty html file and serve that from a
location and check the headers.

location = /test.html {
root "path/to/html/file";

if the headers on that have no gzip compression as set in your nginx config
then you know its your web application gzipping.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270070,270096#msg-270096

More information about the nginx mailing list