OpenLiteSpeed NodeJS
OpenLiteSpeed NodeJS
by LiteSpeed Technologies

VERSION 10.15.3

OS Ubuntu 18.04

Create OpenLiteSpeed NodeJS Droplet

Description

The Node.js OpenLiteSpeed One-Click app automatically installs Linux, performance web server OpenLiteSpeed, Node.js, NPM, and CertBot. OpenLiteSpeed features easy setup for SSL and RewriteRules. It's flexible enough to host multiple Node.js apps, and supports many other apps including Python, Ruby, and CMSs like WordPress.

Software Included

PackageVersionLicense
Node.js10.15.3Custom
NPM3.5.2Artistic License 2.0
OpenLiteSpeed1.4.49GPLv3
CertBot0.31.0Apache2

Getting started after deploying OpenLiteSpeed NodeJS

From a terminal on your local computer, connect to the Droplet as root. Make sure to substitute the Droplet’s IP address.

ssh root@use_your_droplet_ip

An interactive script that runs will first prompt you for your domain or subdomain.

You can press CTRL+C and continue to SSH. The prompt will open again the next time you log in, and will continue to do so until you finish the whole setup.

Please input a valid domain:
Please verify it is correct. [y/N]

You can also automatically apply Let's Encrypt SSL if your domain is pointed to this server already. Enter y and your email address to finish the process.

Do you wish to issue a Let's encrypt certificate for this domain? [y/N]
Please enter your E-mail:
Please verify it is correct: [y/N]

Once finished, you should see Certificate has been successfully installed…

Do you wish to force HTTPS rewrite rule for this domain? [y/N]

Enter y to force HTTPS rules to be applied

Do you wish to update the system which include the web server? [Y/n]

This script will automatically go away after your domain has been added.

For more support

Please visit our Quick Start page for details on how to access your NodeJS One Click and complete your configuration.

Community Support: null

API Creation

In addition to creating a Droplet from the OpenLiteSpeed NodeJS 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB OpenLiteSpeed NodeJS Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"openlitespeed-node-18-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

Support Details

Supported By:LiteSpeed Technologies
Hours:24x7
Support URL:https://docs.litespeedtech.com/cloud/nodejs/
Support Email:support@litespeedtech.com

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn