v2
nginx's gzip module will ignore the content-length header on the HEAD request and try to gzip the body.... but there is no body, so it simply writes no header at all. Code to turn this off was based off of https://trac.nginx.org/nginx/ticket/261