title: Azure App Service getting Error 404 when redirected via NGINX
body: <ol>
  <li>I created a VM, port 80 is open and installed NGINX on it.</li>
  <li>I created 2 App Services which can be accessed via x1.azurewebsites.net and x2.azurewebsites.net</li>
  </ol>
  
  <p>I configured the VM to act as an load balancer but when redirecting the traffic I get the following: <a href="https://i.gyazo.com/b94bed9c90d3b0f0c400c83f762f0544.png" rel="nofollow">https://i.gyazo.com/b94bed9c90d3b0f0c400c83f762f0544.png</a></p>
  
  <p>I am not using my own domain. Does someone know what the issue could be?</p>
  
  <p>I got the following configurations:</p>
  
  <pre><code>upstream backend {
    server xx.azurewebsites.net;
    server xxx.azurewebsites.net;
  }
  
  server {
    listen 80 default_server;
    listen [::]:80 default_server;
  
    root /var/www/html;
  
    server_name_;
  
    location / {
     proxy_pass http://backend;
    }
  
  }
  </code></pre>