slice

Syntax: slice size;
Default: slice 0;
Context: http, server, location

Sets the size of the slice. The zero value disables splitting responses into slices. Note that a too low value may result in excessive memory usage and opening a large number of files.

In order for a subrequest to return the required range, the $slice_range variable should be passed to the proxied server as the Range request header field. If caching is enabled, $slice_range should be added to the cache key and caching of responses with 206 status code should be enabled.

doc_nginx
2017-02-09 07:09:14
Comments
Leave a Comment

Please login to continue.