Simple question about proxy cache

John Moore grails at jmsd.co.uk
Fri Mar 22 15:39:53 UTC 2013


On 22/03/13 14:11, Maxim Dounin wrote:
> This looks like valid regular expression (try pcretest if unsure), but 
> from maintainability point of view I would recommend to use multiple 
> normal prefix or exact match locations instead of trying to combine 
> them into a single regexp. 

Yes, you're probably right. Maybe I should just put all the repeated 
stuff in a text file and use include on each location requiring it. I 
guess an include file can contain another include directive. Easy enough 
for me to try it out.



More information about the nginx mailing list