title: Nginx logs are not writing
body: <p>In my Nginx I can't see logs are updating.</p>
  <p>Below is the config</p>
  <pre><code>/etc/nginx # more nginx.conf
  
  user  nginx;
  worker_processes  auto;
  
  error_log  /var/log/nginx/error.log warn;
  pid        /var/run/nginx.pid;
  
  
  events {
      worker_connections  1024;
  }
  
  
  http {
      include       /etc/nginx/mime.types;
      default_type  application/octet-stream;
  
      log_format  main  '$remote_addr - $remote_user [$time_local] &quot;$request&quot; '
                        '$status $body_bytes_sent &quot;$http_referer&quot; '
                        '&quot;$http_user_agent&quot; &quot;$http_x_forwarded_for&quot;';
  
      access_log  /var/log/nginx/access.log  main;
  
      sendfile        on;
      #tcp_nopush     on;
  
      keepalive_timeout  65;
  
      #gzip  on;
  
      include /etc/nginx/conf.d/*.conf;
  }
  </code></pre>
  <p>I can see file is there in here <code>/var/log/nginx</code></p>
  <p>Below is the access status</p>
  <pre><code>/var/log/nginx # ls -lh
  lrwxrwxrwx    1 root     root          11 Jan 22  2020 access.log -&gt; /dev/stdout
  lrwxrwxrwx    1 root     root          11 Jan 22  2020 error.log -&gt; /dev/stderr
  </code></pre>
  <p>Just wondering what is missing in config.
  Just note that this nginx running on a docker container inside <code>openshift</code> POD</p>