title: How can I deploy a shopware PWA app at plesk?
body: <p>I want to host a Shopware PWA app at Plesk. For this I have the following index.js and server.js files.</p>
  <p>However, I only get the standard page from Nuxt.JS and not the shop.</p>
  <p>index.js</p>
  <pre class="lang-js prettyprint-override"><code>require(&quot;@babel/register&quot;)({});
  module.exports = require('./server.js');
  </code></pre>
  <p>server.js</p>
  <pre class="lang-js prettyprint-override"><code>const express = require('express');
  const { Nuxt, Builder } = require('nuxt');
  
  const config = require('./nuxt.config.js');
  
  // Create new express app
  const app = express();
  
  // Listen to port 3000 or PORT env if provided
  app.listen(process.env.PORT || 3000);
  
  // Enable production mode
  config.dev = false;
  
  // Create instance of nuxt
  const nuxt = new Nuxt(config);
  // Add nuxt middleware
  app.use(nuxt.render);
  
  new Builder(nuxt).build();
  
  </code></pre>
  <p>My Plesk config:</p>
  <p><a href="https://i.stack.imgur.com/11amj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/11amj.png" alt="enter image description here" /></a></p>