I'm serving a some larger static files through an nginx proxy, and most clients requests these with range requests. My undrstanding is that when the request is made with a header of
It isn't necessary to send the whole file, but rather it can be an arbitrary size of the entire file. I've tried to find if it's possible to set a default limit in nginx on the preferred size of the response to such requests without any luck.
So I'm basically wondering if this is possible, to for example say limit the response to 10m if the client requests the file with an open ended range request?