title: Nginx proxy_pass doesn't work on port 80
body: <p>I am using a DigitalOcean VPS hosting a meteor app. I don't have a domain name yet, so just use the plain IP address. When I set below config and use <code>myipaddress:3000</code> and <code>myipaddress:8080</code>, both of them worked well; but if I change the 8080 to 80, only <code>myipaddress:3000</code> works. Using only <code>myipaddress</code> or <code>myipaddress:80</code> will show "Welcome to nginx on Debian!" message. (I use Ubuntu 14.04 on the VPS).</p>
  
  <pre><code>server {
      listen 8080;
      server_name default;
  
      location / {
          proxy_pass http://localhost:3000;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection 'upgrade';
          proxy_set_header Host $host;
          proxy_cache_bypass $http_upgrade;
      }
  } 
  </code></pre>
  
  <p>Can not figure out why can't use port 80.</p>
  
  <p>---- Solved this problem --------</p>
  
  <p>I commented out the "listen 80 default_server" in the /etc/nginx/sites-enabled/default" file, then my config at "/etc/nginx/conf.d/mysite.conf" works on port 80. </p>