title: Nginx still try to open default error log file even though I set nginx config file while reloading
body: <p>The below is my nginx configuration file located in <code>/etc/nginx/nginx.conf</code></p>
  
  <pre><code>user Foo;
  worker_processes 1;
  
  error_log /home/Foo/log/nginx/error.log;
  pid /home/Foo/run/nginx.pid;
  
  events {
      worker_connections 1024;
      use epoll;
  }
  
  http {
      access_log /home/Foo/log/nginx/access.log;
  
      server {
          listen 80;
  
          location = / {
              proxy_pass http://192.168.0.16:9999;
          }
      }
  }
  </code></pre>
  
  <p>As you can see I change log, pid files location into home directory.</p>
  
  <p>When I re-start <code>Linux</code> it seems to work, <code>Nginx</code> records error logs in the file I set and pid file also.</p>
  
  <p>However, when it tries <code>nginx -s reload</code> or the other, It tries to open other error log file.</p>
  
  <pre><code>nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
  2015/12/14 11:23:54 [warn] 3356#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
  nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  2015/12/14 11:23:54 [emerg] 3356#0: open() "/home/Foo/run/nginx.pid" failed (13: Permission denied)
  nginx: configuration file /etc/nginx/nginx.conf test failed
  </code></pre>
  
  <p>I know, I can solve permission error with <code>sudo</code> but the main issue in here is a error log file(<code>/var/log/nginx/error.log</code>) Nginx tries to open.</p>
  
  <p>Why does it try to access another error log file?</p>