@keesspoelstra "Yes, it also might fire if gzip is not compiled in nginx"
nginx uses `#if (NGX_HTTP_GZIP) ..` at some places in the code (see. `http/ngx_http_core_module.c`)
Could we use that to bail out early?