TLDW: What worked for me was add www.serverdomain to the list of server names. Deleting the ipv6only flag also worked, but it didn't redirect me to use https.
Watch video SSL Let's Encrypt Not Working With NGINX on AWS EC2 Instance - A Potential Solution online, duration hours minute second in high quality that is uploaded to the channel Jeremy 11 June 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,281 times and liked it 5 visitors.