title: Nginx shows wrong time/timezone
body: <p>How to fix <code>Nginx</code> timezone? I've configured <code>nginx</code> to serve a directory but datetime of creation is one hour after my real time. </p>
  
  <p>I've added to <code>/etc/init.d/nginx</code></p>
  
  <pre><code>export TZ='Europe/Bratislava'
  </code></pre>
  
  <p>then</p>
  
  <pre><code>sudo service nginx reload
  sudo service nginx restart
  </code></pre>
  
  <p>But it didn't help, there should be 14:19 instead of 13:19.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Tried to change <strong>Ubuntu</strong> default timezone but the datetimes aren't changed. </p>
  
  <pre><code>sudo dpkg-reconfigure tzdata
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uxlCs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uxlCs.png" alt="enter image description here"></a></p>