Nginx will try to slice the response body when one of the following conditions is met and the request specifies a Range
header.
- Nginx is serving static files directly.
- Nginx cache is enabled.
proxy_force_ranges
is set toon
.
This behavior is controlled by allow_ranges
in struct ngx_http_request_s
.