2024-11-15, 09:26 PM
(2024-11-15, 02:57 PM)TheDreadPirate Wrote: A couple things. You need SOMETHING listening on port 80 that will respond to the acme challenge so you can acquire certs. It sounds like you might have that covered.
If have NOT acquired certs already, you will need to comment out all of the letsencrypt lines. Both for the certs and for any SSL/TLS configs, like options-ssl-nginx.conf. Certbot will ADD those lines during the cert request process.
inside the file located in /etc/nginx/sites-enabled/jellyfin I commented the following lines (red circled) and i edited the port and server_name (yellow circled)
my /etc/letsencrypt/options-ssl-nginx.conf looked like this:
and my /etc/nginx/nginx.conf looked like this.
https://pastebin.com/DxAzsvnP
however when I execute the commands, I get this error:
it is worth mentioning that inside the letsencrypt folder there is nothing, and I followed the certbot tutorial you gave me.
server@msi-server:~$ cd /etc/letsencrypt/
server@msi-serveretc/letsencrypt$ tree
.
├── options-ssl-nginx.conf
└── renewal-hooks
├── deploy
├── post
└── pre
5 directories, 1 file
server@msi-serveretc/letsencrypt$