title: I am trying to host a website using nginx reverse proxy method, i am running two Node.js applications
body: <p>My first application is running on 8080, the second application is running on 8081, The code is as follows:</p>
  
  <pre><code>server {
      listen 80;
  
      server_name greatwallprojects.com;
  
      location / {
          proxy_pass http://127.0.0.1:8080;
          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;
      }
  
      location /pingtest {
              proxy_pass http://127.0.0.1:8081;
              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>I basically see a blank page once i try to open the second location page, the homepage works fine, but <a href="http://greatwallprojects.com/pingtest" rel="nofollow">http://greatwallprojects.com/pingtest</a> loads a blank page. If the reverse proxy method has issues should i try other methods?. Can anyone point out the issue?</p>