On Fri, Oct 03, 2014 at 04:32:06AM -0400, rapamiti wrote:

Hi there,

> 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.

If I've understood you correctly:

See http://nginx.org/r/location and possibly
http://nginx.org/en/docs/http/request_processing.html#simple_php_site_configuration

and add a separate location that does match your urls -- something like
~logo.*gif$ -- that will apply before your current location.

        f
-- 
Francis Daly        fran...@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to