How to fix Nginx
timezone? I've configured nginx
to serve a directory but datetime of creation is one hour after my real time.
I've added to /etc/init.d/nginx
export TZ='Europe/Bratislava'
then
sudo service nginx reload
sudo service nginx restart
But it didn't help, there should be 14:19 instead of 13:19.
EDIT
Tried to change Ubuntu default timezone but the datetimes aren't changed.
sudo dpkg-reconfigure tzdata
location
level, one could put it directly inserver
block on top. – Barge