Welcome! Log In Create A New Profile

Advanced

nginx is too strict about accept-ranges

August 25, 2014 08:23AM
Hi

I am using nginx to proxy/cache requests from different origin servers, some of which I don't have access to (can't change their behaviour). Recently I stumbled upon a problem where nginx wouldn't serve partial objects (even after they are cached) although upstream server would happily do that. It happens because upstream server doesn't serve "Accept-Ranges: bytes" header.
RFC7233 states that use of this header is optional so nginx might be relying on it a bit too heavily.

Is there a configuration knob to make nginx ignore absence of this header (or force nginx to allow ranges)? Or a patch available to apply? If not - are there any plans to add one?

Thanks,
Kuba
Subject Author Posted

nginx is too strict about accept-ranges

jakubp August 25, 2014 08:23AM

Re: nginx is too strict about accept-ranges

Maxim Dounin August 25, 2014 09:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready