location filter

rapamiti nginx-forum at nginx.us
Fri Oct 3 08:32:06 UTC 2014


Hi everybody,

i'm a newbie with nginx, i use nginx for static content and apache.

i use actually :
location ~*
^.+.(jpg|jpeg|gif|png|bmp|ico|pdf|flv|swf|exe|txt|css|js|xml|woff|eot|ttf|svg)$
{
and all is ok

but i want to remove from nginx a dynamic image, ex : logo_125_21.gif who is
generated by apache/php (with rewrite)
numbers are randoms.

so how can i modify the location line for exclude logo_*_*.gif please ? all
my tests failed.

Thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253740,253740#msg-253740



More information about the nginx mailing list