On Sun, May 22, 2011 at 05:48:42PM +0100, Nuno Magalhães wrote:
> > location ^~ /applets/{
> > root /home/vhosts/x.com/httpdocs;
> > expires max;
> > }
> > location ^~ /css/{
> > root /home/vhosts/x.com/httpdocs;
> > expires max;
> > }
>
> And merge these locations (as well as others) perhaps? Something like
> ^~ /(applets|css)/
The lesser regex locaitons you have in configuraiton is the better.
The best case is zero regex locations.
--
Igor Sysoev
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx