debian/scripts/nginx.sh

13 lines
205 B
Bash
Raw Permalink Normal View History

2025-04-27 01:19:08 +03:00
#!/bin/bash
set -euo pipefail
2025-04-27 16:31:27 +03:00
sudo apt install -y nginx certbot python3-certbot-nginx
sudo systemctl status certbot.timer
2025-04-27 16:40:39 +03:00
echo "For enabling certs:"
echo "sudo certbot --nginx -d example.com"
echo ""
2025-04-27 16:31:27 +03:00