Instalación de WebChat seguro con SSL + IRC backend
Instalar SSL en la VPS
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
apt install nginx -y
Antes debes apuntar el dominio al VPS
sudo systemctl stop nginx
sudo certbot certonly --standalone -d chat.unionchat.org
⚠️ Cambia el dominio por el tuyo
wget https://github.com/kiwiirc/kiwiirc/releases/download/v1.7.1/kiwiirc-server_v1.7.1-2_linux_amd64.deb
sudo dpkg -i kiwiirc-server_v1.7.1-2_linux_amd64.deb
cd /etc/kiwiirc nano config.conf
cd /usr/share/kiwiirc/static nano config.json
sudo systemctl restart kiwiirc
sudo certbot renew --dry-run
Luego revisa tu webchat:
https://chat.dominio.org
Descarga config.conf y config.json para editar
cert = /etc/letsencrypt/live/chat.unionchat.org/fullchain.pem key = /etc/letsencrypt/live/chat.unionchat.org/privkey.pem
Estos valores van en config.conf
username = "Unc" webirc = "contra2013"
username = identificador webirc
webirc = clave de conexión KiwiIRC ↔ IRC
Te recomiendo bajarlo, editarlo y subirlo por FTP (FileZilla o WinSCP).
WebChat configurado correctamente con SSL + KiwiIRC.