Skip to content

How to deploy a node.js instance on a google cloud vm using openlitespeed

Greg Maxin edited this page Oct 12, 2020 · 2 revisions

Base for google VM

  • Deploy cloud solution (lite speed)
  • Shh in and make sure your domain points there. Set up cert before anything else
  • The webroot for the cert is /usr/local/lsws/Example/html
  • /usr/local/lsws is where the files are
  • Clone your repo
  • Add secrets
  • Update and upgrade
  • Npm install (and npm rebuild if needed)
  • Edit /lsws/conf/vhost/example/vhosts.conf. Only the app server
  • Go to :7080 and edit the server
  • In virtual hosts change the name and root
  • In general make the document root $VH_ROOT/

litespeed documentation

Clone this wiki locally