response headers show wrong time
Reinis Rozitis
r at roze.lv
Wed Jul 5 21:33:26 UTC 2017
> 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
More information about the nginx
mailing list