Sanity check of my config - is it secure?
Igor Sysoev
igor at sysoev.ru
Fri May 27 09:39:10 MSD 2011
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
More information about the nginx
mailing list