title: Nginx how to host different sites to the same domain but on different ports
body: <p>I have two laravel A and B projects on the ubuntu server. My IP:80 opens up A site. I want site B to open as well on IP:{port}. Is it possible using Nginx?
  What I have tried so far is creating another config file in sites-available:</p>
  <pre><code>server {
    listen 777;
    root /var/www/B/public;
    ..
  }
  </code></pre>
  <p>But it is not opening site B. Any suggestions?</p>