My domain is: Not relevant to my issue
I ran this command: Not relevant to my issue
It produced this output: Not relevant to my issue
My web server is (include version): nginx/1.19.4 (built from source, not installed through apt)
The operating system my web server runs on is (include version): Ubuntu server 20.04
My hosting provider, if applicable, is: Not relevant to my issue
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): Certbot 0.40.0
I'm trying to use Certbot with Nginx, and I have built Nginx from source; I don't have it installed from apt. This is important to my issue.
When I try to use
certbot --nginx, I get an error saying
The requested nginx plugin does not appear to be installed
When I try to install the plugin (
sudo apt install python3-certbot-nginx), it installs both the plugin and Nginx itself.
I do not want it to do this, as I have a version of Nginx that I built from source installed and when apt installs the plugin, it thinks that Nginx is not installed and installs the Nginx from apt. This results in me having two Nginxes installed -- one from apt and one I built from source.
How can I install the plugin without installing Nginx?
// There's probably an obvious solution for this, but I haven't ran into this, like, ever, and I don't even know what to google
Thanks for your help in advance.