I'm serving static content using nginx. I'd like to support both Range requests and gzip compression.
Unfortunately, these two features are not compatible in nginx. Adding gzip on; to my config disables range requests.
Assuming I can't gzip everything, the next best option would be to enable gzip for all requests which lack a Range: header. Is this possible?