Skip to content

Instantly share code, notes, and snippets.

@hannesbe
Last active January 18, 2019 20:22
Show Gist options
  • Save hannesbe/2efe3646b89772f03c4637b14d96783c to your computer and use it in GitHub Desktop.
Save hannesbe/2efe3646b89772f03c4637b14d96783c to your computer and use it in GitHub Desktop.
Revert to multidomain-snowplaza-2018
#!/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