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
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
sudo service nginx stop | |
cd /opt/letsencrypt | |
./letsencrypt-auto certonly --standalone -d example.com -d www.example.com | |
# In Nginx conf file | |
ssl on; | |
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; |
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
git co master | |
git pull | |
git co -b new_branch_for_task | |
git add modified_files | |
git ci -m "adding new feature" | |
git fetch origin | |
git rebase origin/master | |
git co master | |
git pull | |
git rebase new_branch_for_task |