adding expires but not show up in headers
Francis Daly
francis at daoine.org
Wed Jun 19 08:05:15 UTC 2013
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 francis at daoine.org
More information about the nginx
mailing list