sudo apt update && sudo apt upgrade -y sudo apt install git curl -y sudo apt install git curl -y curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -sudo apt install nodejs -y node -vnpm -v git clone https://github.com/louislam/uptime-kuma.gitcd uptime-kuma npm run setup sudo apt install mariadb-server -y sudo systemctl enable --now mariadb sudo mysql_secure_installation sudo mysql -u root -p CREATE DATABASE uptimekuma; CREATE USER 'kumauser'@'localhost' IDENTIFIED BY 'StrongPassword'; GRANT ALL PRIVILEGES ON uptimekuma.* TO 'kumauser'@'localhost'; FLUSH PRIVILEGES; EXIT; node server/server.js sudo nano /etc/systemd/system/uptime-kuma.service [Unit]Description=Uptime Kuma Monitoring ServiceAfter=network.target[Service]Type=simpleWorkingDirectory=/root/uptime-kumaExecStart=/usr/bin/node server/server.jsRestart=alwaysEnvironment=NODE_ENV=production[Install]WantedBy=multi-user.target sudo systemctl daemon-reexecsudo systemctl enable uptime-kumasudo systemctl start uptime-kuma sudo systemctl status uptime-kuma Install Caddy Web Server on Debian 13 and set caddy security headers for grade A+
domainname.com {
reverse_proxy 127.0.0.1:3001
import /etc/caddy/caddy_security.conf
} open your browser: https://domainname.com/setup-database 

0ct0pu5.blog