Thanks for your reply. I tried that. But looks like $time_local is only available for Log. It does not recognize $time_local in Server section. May be I am missing something. Is there way to make these variable available in anywhere in nginx conf ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220970,220975#msg-220975