Ah you mean GUI for customers. No there is none.
I would advice to install also the wsgi modules via litespeed. You can do this:
/usr/local/lsws/admin/misc/enable_ruby_python_selector.sh
In case someone wants to use python
Or download and install:
LiteSpeed Server Application Programming Interface (LSAPI) is designed specifically for seamless, optimized communication between LiteSpeed Web Server and third party web applications.
www.litespeedtech.com
For node.js it is simple, you install node.js the way you would like to.
So if you would do it via dnf, then I would recommend to check the module and choose nodejs version
So like this:
Then enable the version you want for example if you want nodejs 20.
Code:
dnf module enable nodejs:20
Then install
Remember this means server wide Node.js.
If you want to have user based node.js I would recommend using NVM (Node Version Manager) this would mean you will need to login via ssh as the user.
NVM is here:
https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating
For example if you have a user called
kiwi:
Code:
su - kiwi
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
check if it works:
command -v nvm
But this your choice.
Tip: What I use on my server is this:
Advanced process manager for production Node.js applications. Load balancer, logs facility, startup script, micro service management, at a glance.
pm2.keymetrics.io
Anyway, back to node.js
When you have a node.js app running you can just proxy it via LiteSpeed.
As of v6.0, LiteSpeed Web Server supports ProxyPass natively. It is no longer required to set up an external app.
ProxyAddHeaders is also supported. So you can also make custom httpd config for users and add the proxypass in the vhost file.
Or just use the [P] option in .htaccess
So if you have a node.js app running with a server on port 5000 you can just do this in the htaccess of the domain:
Code:
RewriteEngine On
RewriteRule ^(.*)$ https://127.0.0.1:5000/$1 [P,L]
If you want to proxy to a domain name you shoudl use the proxypass in the vhost or make an app in Litespeed webadmin.
If you need help you always PM me for more info. But Litespeed has good documentation how to set it up.