Hi @RickyIta68
Certbot can't find your nginx.
Do you use non-standard directories?
Check
https://certbot.eff.org/docs/using.html
there are two additional options:
--nginx-server-root NGINX_SERVER_ROOT
Nginx server root directory. (default: /etc/nginx or
/usr/local/etc/nginx)
--nginx-ctl NGINX_CTL
Path to the 'nginx' binary, used for 'configtest' and
retrieving nginx version number. (default: nginx)