Welcome! Log In Create A New Profile

Advanced

RE: response headers show wrong time

Reinis Rozitis
July 05, 2017 05:34PM
> Hello,
>
> response headers show wrong time:
>
> Date: Wed, 05 Jul 2017 19:44:37 GMT
>
> while system time is set to 22:44:37 (output of the 'date' from command line).
>
> Any ideas where I can set headers' date to system time?

It's not a wrong time just your system has a GMT+3 timezone or EEST (Eastern European Summer Time) but nginx sends the date in GMT (or UTC) timezone which is defined in HTTP protocol RFC (http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)

So there is nothing to set or change.

rr

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

response headers show wrong time

ST July 05, 2017 03:56PM

RE: response headers show wrong time

Reinis Rozitis July 05, 2017 05:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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