title: multiple nginx installation on same server how to set one as default
body: <p>I'm configuring an nginx server to stream using rtmp.</p>
  
  <p>As I just found out I have different nginx installations.</p>
  
  <p>One is located on /etc/nginx (the old one, and the one that is running by default), and other one it's on /usr/local/nginx.</p>
  
  <p>I want to make a symbolic link somewhere so I can define that the server executes the one located at /usr/local</p>
  
  <blockquote>
    <p>Doing some more reading, I realized that I had 2 nginx was because I installed one with apt-get and a newer version from source. I uninstalled with apt-get purge. Now what I need to find out is how to set the nginx installed from source as default system.</p>
  </blockquote>
  
  <p>The nginx installed from source is up and running, but I can't do a restart by any means.</p>