Set up a CDN for Plex with CloudFlare & NGINX


i got an email that my certificate is expiring soon, cant seem to figure out how to renew it.

i ran

letsencrypt renew

but i get an error.


I’ll make a wiki for it on my day off there is something that is wrong with the update script


in this thread it is said to use apt install letsencrypt, rather than box install letsencrypt. which could be why many people do not have the cron entry to renew. i have tried googling it and found some commands but unsure or what is all needed.

im under the impression this is just for nginx, so i stop nginx and run ‘letsencrypt renew’ but i get an error that apache is using port 80. i dont necessarily want to stop apache because if this overwrites something in that config and i cant access my dashboard - not something i want to deal with.


great tutorial