Please fill out the fields below so we can help you better.
I ran this command: certbot --nginx
My web server is (include version): nginx/1.12.1
The operating system my web server runs on is (include version): Ubuntu 16.04
I’m curious how does certbot enable https. I checked nginx.conf and my site’s conf file, but it still listens port 80. However, https doed work with my site. What I mean is that, certbot works fine and helped my achieved my goal, but I want to how it worked. If it did not change nginx’s conf file, how does it enable https?
Certbot does indeed edit nginx’s conf file. Note that it adds HTTPS support (and optionally a redirect) but does not disable port 80. So just seeing that the config file listens on port 80 doesn’t mean that Certbot didn’t edit the config file.