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