Quick n dirty
do these things in this order or they wont work
make sure the domain name doesn't point anywhere else or have something you forgot to delete (like i did and then couldnt get the authentication from certbot...)
first install nginx
install certbot plugin
get certificate for your domain name
replace default nginx config
replace every instance "example.com" with your domain name and "your.ip.address" with the ip address of your server (not domain name)
make sure the port you enter here is the port you use for waitress (default is 5000 i think but just make sure it matches it doesnt matter what. dont use 80 if you have been doing before now)
go to tmux window where waitress is and run waitress
detach from tmux and reload nginx
everything should be working :)