title: nginx routes redirect to index.html in SPA but second sub dimension
body: <p>I've an vue.js (Quasar framework with webpack) app and I use vue-router. I use nginx (with laravel forge) on the server side. In the local (quasar dev or npm run dev), everything is alright. I hadn't been able to refresh pages for the address which is like /settings and I solve it with add </p>
  
  <pre><code>location / {
      try_files $uri $uri/ /index.html?$query_string;
  }
  </code></pre>
  
  <p>lines to nginx configuration file. After that I could refresh the /settings page on the server. But now, I can't refresh a page if it has one more dimension. </p>
  
  <pre><code>/survey/1
  </code></pre>
  
  <p>I tried to add these lines to nginx configuration file</p>
  
  <pre><code>location /survey/ {
      alias /;
      try_files $uri $uri/ /index.html?$query_string;
  }
  </code></pre>
  
  <p>but it doesn't work. </p>
  
  <p>When I look at the errors, I see js addresses are wrong. </p>
  
  <pre><code>http://example.com/survey/js/manifest.js'
  </code></pre>
  
  <p>It should be</p>
  
  <pre><code>http://example.com/js/manifest.js'
  </code></pre>
  
  <p>I researched a bit but couldn't find a solution. </p>