Welcome! Log In Create A New Profile

Advanced

Re: adding expires but not show up in headers

Francis Daly
June 19, 2013 04:06AM
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
Subject Author Posted

adding expires but not show up in headers

angelochen960 June 19, 2013 12:03AM

Re: adding expires but not show up in headers

Francis Daly June 19, 2013 04:06AM

Re: adding expires but not show up in headers

angelochen960 June 19, 2013 05:28AM

Re: adding expires but not show up in headers

Maxim Dounin June 19, 2013 06:20AM

Re: adding expires but not show up in headers (SOLVED)

angelochen960 June 19, 2013 06:40AM

Re: adding expires but not show up in headers

Francis Daly June 19, 2013 07:04AM

Re: adding expires but not show up in headers

angelochen960 June 19, 2013 05:31AM

Re: adding expires but not show up in headers

smith121 June 28, 2013 01:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready