My domain is: www.fesfans.com
I ran this command: sudo certbot --nginx
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_geoip_module.so" failed (/opt/nginx/modules/ngx_http_geoip_module.so: cannot open shared object file: No such file or directory) in /etc/nginx/modules-enabled/50-mod-http-geoip.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_geoip_module.so" failed (/opt/nginx/modules/ngx_http_geoip_module.so: cannot open shared object file: No such file or directory) in /etc/nginx/modules-enabled/50-mod-http-geoip.conf:1\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
My web server is (include version): Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-1065-aws x86_64)
/var/log/letsencrypt/letsencrypt.log
Description: Nginx Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx.configurator:NginxConfigurator
Initialized: <certbot_nginx.configurator.NginxConfigurator object at 0x7fcba9a7a198>
Prep: Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_geoip_module.so" failed (/opt/nginx/modules/ngx_http_geoip_module.so: cannot open shared object file: No such file or directory) in /etc/nginx/modules-enabled/50-mod-http-geoip.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
2020-04-19 10:41:15,890:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None