Shaitan Machine Updates

Update endpoint is ready.

HTML cat > /var/www/shaitanmachine-updates/updates/update.json <<'"'"'JSON'"'"' { "version": "1.0.0", "notes": "Початковий manifest для оновлень.", "windows": { "url": "https://shaitanmachine.skyguard.space/updates/windows/shaitan-machine-1.0.0-installer.exe" }, "linux": { "url": "https://shaitanmachine.skyguard.space/updates/linux/shaitan-machine-1.0.0.tar.gz" } } JSON cat > /etc/nginx/sites-available/shaitanmachine-updates <<'"'"'NGINX'"'"' server { listen 80; server_name shaitanmachine.skyguard.space; root /var/www/shaitanmachine-updates; index index.html; location / { try_files $uri $uri/ =404; } } NGINX ln -sfn /etc/nginx/sites-available/shaitanmachine-updates /etc/nginx/sites-enabled/shaitanmachine-updates nginx -t systemctl reload nginx certbot --nginx -d shaitanmachine.skyguard.space --non-interactive --agree-tos --register-unsafely-without-email --redirect || true nginx -t systemctl reload nginx curl -I http://shaitanmachine.skyguard.space/updates/update.json || true curl -I https://shaitanmachine.skyguard.space/updates/update.json || true