Created
April 10, 2019 21:44
-
-
Save vildzi/909f8655e431c05ba76bf110f165a90f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install nginx npm software-properties-common | |
add-apt-repository universe | |
add-apt-repository ppa:certbot/certbot | |
apt-get update | |
apt-get install certbot python-certbot-apache | |
npm i -g pm2 | |
pm2 startup | |
echo "Done, you can modify nginx config in /etc/nginx/sites-available/default and add certs using certbot -d <domain>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment