Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Simple question about proxy cache

$
0
0
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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>