DEV Community

Discussion on: How to run a Flask App Over HTTPS, using Waitress and NGINX. Updated for 2022.

Collapse
 
keyiflerolsun profile image
Ömer Faruk Sancak • Edited
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python3-certbot-nginx
Enter fullscreen mode Exit fullscreen mode
sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com
Enter fullscreen mode Exit fullscreen mode
letsencrypt certonly -a webroot --webroot-path=/var/www/yourdomain.com/html/ -d yourdomain.com -d www.yourdomain.com
Enter fullscreen mode Exit fullscreen mode
Collapse
 
thetrebelcc profile image
Fabian Anguiano

Added to the article, thanks!