Hi
Thank you all for the suggestions and thoughts.
I did double check the nginx version I am having and it is 1.9.2.
root@ser2:~# nginx -V
nginx version: nginx/1.9.2
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure arguments:
--add-module=/tmp/nginx/ngx_http_substitutions_filter_mo
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"
HI Francis
Thanks for the same.
It works fine in 1.9.6. But on 1.9.2 with similar configruation its throwing
"expires" directive invalid value in sites-enabled file.
Any thoughts ?
Thanks
Govind
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,115406,264031#msg-264031
HI All
The topic was the same one I was looking for. But we have specific idea of
setting up the expire value. We need expires to be at every 2h hours at the
same time to be on every 24hours, ie: midnight. Can you help me with how to
configure the same with 2h as well as for midnight night.
rea