debian/scripts/nginx.sh

12 lines
205 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
sudo apt install -y nginx certbot python3-certbot-nginx
sudo systemctl status certbot.timer
echo "For enabling certs:"
echo "sudo certbot --nginx -d example.com"
echo ""