We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8696bcd commit 6ebe84fCopy full SHA for 6ebe84f
app/ch15_deploy/final/server/server_setup.sh
@@ -72,3 +72,11 @@ rm /etc/nginx/sites-enabled/default
72
cp /apps/app_repo/app/ch15_deploy/final/server/pypi.nginx /etc/nginx/sites-enabled/pypi.nginx
73
update-rc.d nginx enable
74
service nginx restart
75
+
76
77
+# Optionally add SSL support via Let's Encrypt:
78
+# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
79
80
+add-apt-repository ppa:certbot/certbot
81
+apt install python-certbot-nginx
82
+certbot --nginx -d fakepypi.talkpython.com
0 commit comments