Serve an SSR React Router 7 app with NGINX

Follow the steps in serve a simple node app with nginx.

Then build the app

npm run build

Then use pm2 to continuously serve the app.

pm2 start npm --name my-react-router-7-app -- start