Re: Advice on max_ranges for specific location block

2014-03-06 Thread sephreph
Sorry to reply to my own post, but for anyone else who come across this, it looks like the easiest thing to do is to just add the max_ranges directive inside the location block containing the XSendFile alias - so in my case, I made the location that the free.php script uses different from the other

Re: Advice on max_ranges for specific location block

2014-03-06 Thread sephreph
Hi Maxim! Maxim Dounin Wrote: --- > Hello! > > Generally I would recommend adding a "location = /free.php" with > settings specific to a particular script. > > On the other hand, in this case there is no real reason to do > anything as nginx

Re: Advice on max_ranges for specific location block

2014-03-06 Thread Maxim Dounin
Hello! On Thu, Mar 06, 2014 at 06:21:22AM -0500, sephreph wrote: > Hi, > > Hopefully this question isn't too basic, I just want to check if I'm missing > something obvious. > > I'm setting up a basic nginx installation with php-fpm behind it running on > 127.0.0.1:9000 - that's working fine. I

Advice on max_ranges for specific location block

2014-03-06 Thread sephreph
Hi, Hopefully this question isn't too basic, I just want to check if I'm missing something obvious. I'm setting up a basic nginx installation with php-fpm behind it running on 127.0.0.1:9000 - that's working fine. I'm using max_ranges set to 5 globally in the server block (example below), but I