I realized that I can no longer upload files to WordPress on the admin side.
How can I use the control panel again?
When I installed the certificates there were two possible options and I chose the one with always rediretc, did I get it wrong?
Yes but it appened after switching to ssl.
There is some option I can change … ? Or please let me know how and if I am able to delete the all the directory letsencrypt and try to install letsencrypt certs again
Well I have solved the problem. Fortunately I managed to find the error in the log and I understood what happened.
“certbot-auto” installs the certificates using the user: nobody. In my system there already existed by default a user “nobody” of the group “nogroup” but has no access to nginx. So to be able to install the certificates I had to insert a line with the directive: user nobody nogroup; inside nginx.conf. This allowed the installation of certificates. However, this procedure has changed the permissions in the directory: / jet / tmp / nginx /
where instead of: my_ssh_user: my_ssh_group I found: nobody: my_ssh_group and with this modified setting I received the internal server 500 error on the WordPress admin panel. So the problem is not related to WordPress but to the certificate installation procedure.
After installing the certificates I removed the user nobody nogroup directive; because during the restart of nginx, a warning came up saying that this directive is not supported and therefore will be ignored.
Restoring the permissions with chmod on the directory: / jet / tmp / nginx I fixed the problem and the internal server 500 error disappeared.
question: when I have to do the renewal of the certificates the same problem will happen ?
if I wanted to install more than one certificate, I have to indicate another directory for the installation or I can always give the same one?