Last active
January 18, 2019 20:22
-
-
Save hannesbe/2efe3646b89772f03c4637b14d96783c to your computer and use it in GitHub Desktop.
Revert to multidomain-snowplaza-2018
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
#!/usr/bin/env bash | |
certname="snowplaza-multidomain-2018" | |
cd $certname/ | |
rm -f /etc/nginx/ssl/nginx.crt | |
rm -r /etc/nginx/ssl/nginx.key | |
ln -s /etc/ssl/certs/$certname.crt /etc/nginx/ssl/nginx.crt | |
ln -s /etc/ssl/private/snowplaza-multidomain-2016.private.key /etc/nginx/ssl/nginx.key | |
service nginx restart | |
service apache2 restart | |
service varnish restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment