title: Nginx returns 404 on proxy_pass
body: <p>I have the following configuration on Nginx 1.20.1, whenever I try to access test.xxx.com/something/ I get a 404 error. I know there are other similar questions but I already have the / at the end of the proxy_pass so I have no idea what to do. The strange thing is that I have 20 other servers on that configuration, they are all identical but only this one doesn't work. Any idea?</p>
  <pre><code>upstream test {
     server x.x.x.x:8443;
  }
  </code></pre>
  <pre><code>server {
      listen 8090;
      server_name test.xxx.com;
      root /var/www/vhosts/test.xxx.com/;
      location / {
          access_log /var/log/nginx/access_test.log upstreamlog;
          proxy_pass https://test/;
          proxy_set_header Host $host;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Scheme $scheme;
          proxy_connect_timeout 75s;
          proxy_send_timeout 1800s;
          proxy_read_timeout 1800s;
      }
  }
  </code></pre>