On Wed, Jun 19, 2013 at 12:03:35AM -0400, angelochen960 wrote:

Hi there,

> location ~ ^/images/ {
>         root /var/www
>         expires max;
> }
> 
> if I do a curl -I http://localhost/images/sample.jpg, I got following
> headers, but can not find the "Expires" in the headers, what I did wrong
> here? Thanks.

What other "location" lines do you have for this server? Only one of
them will be used for the request /images/sample.jpg.

        f
-- 
Francis Daly        [email protected]

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to