Создание production-ready конфигураций для веб-серверов
/etc/nginx/sites-available/domain.com
ln -s ../sites-available/domain.com /etc/nginx/sites-enabled/
nginx -t
systemctl reload nginx
apt install certbot python3-certbot-nginx
certbot --nginx -d domain.com
crontab -e
→ 0 12 * * * certbot renew
tail -f /var/log/nginx/error.log
curl -I https://domain.com
chown -R www-data:www-data /var/www/
php -v