After getting a certificate from Let’s Encrypt, a few settings are worth a second look.
- Enable only
TLSv1.2andTLSv1.3. - Hide the version with
server_tokens off;. - Redirect port 80 to HTTPS.
- Use
acme.shorcertbotwith automatic renewal and a reload hook.
ssl_protocols TLSv1.2 TLSv1.3;
server_tokens off;
Test the result with openssl s_client -connect example.com:443 -servername example.com.