Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "your_email@example.com"
#!/bin/sh | |
# Should be run as sudo | |
# Usage: add-new-website.sh domain -- script to set up a new site with SSL cert | |
# where: | |
# domain website domain without subdomains (ex: example.com) | |
if [ ! -z "$1" ] | |
then |