B.R.
January 24, 2016 08:46AM
http://nginx.org/en/CHANGES:
Changes with nginx 1.9.7 17 Nov 2015
...
*) Bugfix: the "expires" directive might not work when using variables.

Using the latest version of the branch​ might solve problems...
---
*B. R.*

On Sun, Jan 24, 2016 at 8:21 AM, rgrraj <nginx-forum@forum.nginx.org> wrote:

> Hi Francis
>
> The same works like a charm in 1.9.6 but not in 1.9.2. The error log shows
> the follow,
>
> "[emerg] 6151#0: "expires" directive invalid value in" respective sites
> enabled file.
>
> And our configuration is just as follows,
> ## in nginx.conf
> map $time_iso8601 $expiresc {
> default "3h";
> ~T22 "@00h00";
> ~T23 "@00h00";
> }
>
> ##in sites enabled file,
> location /path/to/files/ {
> expires $expiresc;
> }
>
>
> doesnt allows to restart nginx and fails with the above error in nginx
> error
> log.
>
> Any thoughts ??
>
> Thanks
> Govind
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,115406,264082#msg-264082
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Absolute rather than relative times in expires directives

Mark James August 01, 2010 05:30AM

Re: Absolute rather than relative times in expires directives

Denis F. Latypoff August 01, 2010 05:58AM

Re: Absolute rather than relative times in expires directives

Mark James August 01, 2010 07:48AM

Re: Absolute rather than relative times in expires directives

Ryan Malayter August 01, 2010 11:06AM

Re: Absolute rather than relative times in expires directives

Igor Sysoev August 01, 2010 12:02PM

Re: Absolute rather than relative times in expires directives

Ryan Malayter August 02, 2010 09:22AM

Re: Absolute rather than relative times in expires directives

rgrraj November 17, 2015 03:07AM

Re: Absolute rather than relative times in expires directives

Francis Daly November 18, 2015 08:46AM

Re: Absolute rather than relative times in expires directives

rgrraj January 21, 2016 02:19AM

Re: Absolute rather than relative times in expires directives

Francis Daly January 23, 2016 06:16AM

Re: Absolute rather than relative times in expires directives

rgrraj January 24, 2016 02:21AM

Re: Absolute rather than relative times in expires directives

B.R. January 24, 2016 08:46AM

Re: Absolute rather than relative times in expires directives

Maxim Dounin January 25, 2016 10:16AM

Re: Absolute rather than relative times in expires directives

rgrraj February 01, 2016 12:24AM

Re: Absolute rather than relative times in expires directives

Francis Daly February 01, 2016 04:16AM

Re: Absolute rather than relative times in expires directives

Maxim Dounin February 01, 2016 07:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
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