title: How to deploy Nuxt SSR with mod_rewrite in a sub folder?
body: <p>Currently I'm running a Django based website. I want to replace my "/admin/" area with a Vue/Nuxt build version but keep the rest of my website for now.</p>
  
  <p>To serve my files I use Apache2 with mod_rewrite enabled. My Nuxt server is running on localhost:3000.</p>
  
  <p>In my .htaccess I wrote this line to proxy /admin/ to the Nuxt Server</p>
  
  <pre><code>RewriteRule ^admin/(.*) http://localhost:3000/$1 [P]
  </code></pre>
  
  <p>If I access www.example.com/admin/ I see the output of my Nuxt project. But all resources are not loaded because the paths are wrong.</p>
  
  <p>Instead of www.example.com/admin/.nuxt/... Nuxt is "looking" to www.example.com/.nuxt/</p>
  
  <p>How can I change this?</p>