Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: adding expires but not show up in headers

$
0
0
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@daoine.org

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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>