buggy example on wiki

Martin Minka martin.minka at gmail.com
Tue Oct 23 17:01:51 MSD 2007


I agree.
It starts to be bug, if you copy it from the example as I did and use it 
in case that you have link like http://www.server.com/katar served from 
one location and also want catch "*.tar" from other location. Then it is 
bug in the configuration. I spent some time to search for the reason why 
it is not working.

So my suggestion is to correct the examples so no others will get into 
the same trouble.

Martin

Roxis wrote:
> there is no bug in
>     location ~* ^.+\.(jpg|jpeg|gif)$
>
> but
>     location ~* \.(gif|jpg|jpeg)$
> is simpler and better
>
>
>   





More information about the nginx mailing list