title: NGINX Multiple servers same IP
body: <p>I want to configure my server as follows:</p>
  
  <ul>
  <li>Just 1 server with 1 IP and,</li>
  <li>Just 1 domain pointing to that IP, lets say <code>example.com</code></li>
  <li>Two different web applications running on nginx (on the same port 80), separated as <code>/site1</code> and <code>/site2</code></li>
  </ul>
  
  <p>Is it possible to configure <code>sites-available/site1</code> and <code>sites-available/site2</code> config files to access them through <code>http://example.com/site1</code> in the first case and <code>http://example.com/site2</code> in the second case??</p>
  
  <p>Thanks!! </p>