Created
November 16, 2018 17:08
-
-
Save JacobDB/58338bf4f389827bb2f79ac81796a170 to your computer and use it in GitHub Desktop.
Simple bash script to disable UFW, renew Lets Encrypt certificates, restart GitLab nginx, and re-enable UFW
This file contains hidden or 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
ufw disable | |
certbot renew --renew-hook "/usr/bin/gitlab-ctl restart nginx" | |
ufw --force enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment