Turn VMs on/off. Proxmox simplified remote control for VMs. Expose proxmox VE api using reverse proxy(using nginx), and expose a remote control like page.
Before installation, you need to generate an API token and fill it inside the index.js
file. Also fill in the correct proxmox api base url(the one that will be exposed by the Nginx configuration).
- Install nginx
apt-get install nginx
-
Copy nginx file from
repository/nginx/default
to/etc/nginx/sites-available/default
-
Create proxmox-remote-control public folder, and put the files from this project inside it:
mkdir /media/proxmox-remote-control
# add "index.html, index.css, index.js" inside the folder
- Reload nginx
systemctl reload nginx