mmagic word in nginx?

Daniel Epi lists at ruby-forum.com
Mon Mar 2 11:49:26 MSK 2009


Igor Sysoev wrote:
> 
> I'm not sure, but probably single anchor (^ and $) regex will be faster:
> 
> -    location ~* ^.+\.(jpg|jpeg|gif.....)$ {
> +    location ~*    \.(jpg|jpeg|gif.....)$ {

Thanks for the suggestion Igor!
I'll give it a try.

Thanks!
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list