Welcome! Log In Create A New Profile

Advanced

Re: How does nginx get the TimeZone of local system while compile & install?

Maxim Dounin
August 30, 2011 11:52AM
Hello!

On Tue, Aug 30, 2011 at 08:29:56PM +0800, Sharl.Jimh.Tsin wrote:

[...]

> and to define it in nginx.conf file via "env" probably not work at all,i
> tried it before.for example "env TZ=Asia/Shanghai".

Which OS do you use, Linux? This works perfectly on FreeBSD, but
it looks like not on Linux as it doesn't check updated TZ
environment on localtime_r() calls and requires explicit tzset().
I'll take a more closer look as time permits.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How does nginx get the TimeZone of local system while compile & install?

Sharl.Jimh.Tsin August 30, 2011 07:54AM

Re: How does nginx get the TimeZone of local system while compile & install?

Maxim Dounin August 30, 2011 08:16AM

Re: How does nginx get the TimeZone of local system while compile & install?

Sharl.Jimh.Tsin August 30, 2011 08:32AM

Re: How does nginx get the TimeZone of local system while compile & install?

Maxim Dounin August 30, 2011 11:52AM

Re: How does nginx get the TimeZone of local system while compile & install?

Sharl.Jimh.Tsin August 30, 2011 10:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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