HTTP core directives

max_ranges directive

HTTP/server/location; default unlimited. Excessive range counts are treated as no range; zero disables ranges.

Formal Syntax & Structure

nginx syntaxnginx
max_ranges number;

Parameters & Attributes

NameTypeDescription
numbernonnegative integerUpper bound on requested ranges; zero turns range handling off.

Working Example

Example Snippetnginx
max_ranges 1;
Nginx Reference