title: dump conf from running nginx process
body: <p>Is it possible to get which conf the nginx is using only from a running nginx process?</p>
  
  <p>To get the conf file path. sometimes <code>ps aux</code> reveal it, sometimes it doesn't. It might be just something like <code>nginx: master process /usr/sbin/nginx</code> (same as <code>/proc/PID/cmdline</code>)</p>
  
  <ol>
  <li>So is <code>nginx -V</code> the only solution?</li>
  <li>From <a href="https://serverfault.com/a/436239/59379">this question</a>, is it possible to dump conf data structure from nginx process directly? Or at least dump the conf file path?</li>
  </ol>