title: React - bundle.js not found (using Nginx setup)
body: <p>I have a React app set up to run on port 8080. When I run the deployed project using <code>http://example.com:8080</code>, it runs well.</p>
  
  <p>However, I'm using nginx to proxy this url, adding the "location /admins" to <strong>etc/nginx/nginx.conf</strong>:</p>
  
  <pre><code>server {
      listen       80;
      server_name  localhost;
  
      #charset koi8-r;
  
      #access_log  logs/host.access.log  main;
  
      location / {
          root   html;
          index  index.html index.htm;
      }
  
  location /admins {
      proxy_pass "http://hadas-ex.co.il:8080";
  }
  </code></pre>
  
  <p>Then, when browsing to <code>hadas.ex.co.il/admins</code>, it serves the app, but I get the following error in my console:</p>
  
  <blockquote>
    <p>GET <a href="http://hadas-ex.co.il/static/js/bundle.js" rel="nofollow noreferrer">http://hadas-ex.co.il/static/js/bundle.js</a> net::ERR_ABORTED 404 (Not Found)</p>
  </blockquote>
  
  <p>I'm just confused as to why I'm getting this error, as it's working fine when accessing the <code>hadas-ex.co.il:8080</code> directly.</p>