I followed this documentation and installed Certbot and now Magento 2 is not accessible.
Getting the following error in Chrome Console
Failed to load resource: the server responded with a status of 500 ()
To check, I dropped an HTML file in the root and I am able to access it in the browser, but not the index.php. I have also updated the .conf apache 2 file to make sure index.php comes first.
Magento 2.4.5-p1
Porto Theme
Ubuntu 22.04, AWS EC2 Instance, 8GB