stwissel nginx-forum at
Tue Dec 30 03:12:57 UTC 2014

This workaround seems to do the trick for the time being:

			if ($request_method = HEAD) {
					add_header Content-Length 0;
					add_header Content-Type text/plain;
					add_header Vary Accept-Encoding;
					return 200;

It might interfere with other HEAD requests, so I consider that as stopgap

Posted at Nginx Forum:,255845,255865#msg-255865

More information about the nginx mailing list