HTTPS ist Standard. Let’s Encrypt + Certbot = automatisches SSL in Minuten.
Installation¶
sudo apt install certbot python3-certbot-nginx
Zertifikat¶
sudo certbot –nginx -d example.com -d www.example.com sudo certbot renew –dry-run
Konfiguration¶
server { listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; } server { listen 80; return 301 https://$server_name$request_uri; }
HTTPS fuer alle¶
Certbot – kostenlos und automatisch. Einmal einrichten, vergessen.