1 Answer
- Newest
- Most votes
- Most comments
0
It's a good idea to keep all logs in UTC to avoid any ambiguity around daylight savings time shifts, leap minutes, etc. That's particularly important when the filenames themselves are timestamped - i.e. you would have a "hole" in your logs when the local time leaps forward, and traffic would appear to double during one hour once it leaps back. Arguably, healthd is following the best practice and is in the clear here.
As per nginx documentation,
By default, nginx removes all environment variables inherited from its parent process except the TZ variable.
but it can be overriden in nginx.conf:
user nginx; worker_processes auto; + env TZ=UTC;
That would do the trick.
answered 8 days ago
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- How do I customize my nginx configuration to modify the "client_max_body_size" in Elastic Beanstalk?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago