This node.js app is a web interface for virtual hosts management including create, edit and delete a virtual hosts in nginx web server.
Create file name .env with variables below:
#PORT will be use as a port for this node application. PORT=#Web Interface Login. USERNAME= PASSWORD=
#.conf folder location. NGINX_PATH=/etc/nginx/sites-enabled/
- PORT is a port you want this app to be running on.
- USERNAME The username required to log into the control panel.
- PASSWORD The password required to log into the control panel.
- NGINX_PATH The path to the Nginx configuration directory, 'sites-enabled' or 'sites-available'.