Expires headers for url rewrite rules

Francis Daly francis at daoine.org
Mon Oct 21 09:58:06 UTC 2013


On Mon, Oct 21, 2013 at 05:52:57AM -0400, bogdanb wrote:

Hi there,

> location / {

> location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {

> This works fine for everything except for the images that have the url
> rewrite rules (which return 404 Not found). Anyone know what I'm doing wrong
> here?

One request is handled in one location.

Put all of the configuration that you want to apply to a request, within
the one location{} block that handles that request.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list