This commit is contained in:
Alex Thomassen 2019-05-22 06:34:51 +00:00 committed by GitHub
parent 381a149bc1
commit bfd40cd8bd
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
#!/bin/bash
GIST="https://gist.github.com/Decicus/2f09db5d30f4f24e39de3792bba75b72/raw"
NGINX="/etc/nginx"
SSL_BASE="/srv/ssl"
# Make sure the 'essentials' are installed
sudo apt install -y nginx openssl curl
# Get acme.sh for issuing certificates
curl -L https://get.acme.sh/ | sudo bash
GIST="https://gist.github.com/Decicus/2f09db5d30f4f24e39de3792bba75b72/raw"
NGINX="/etc/nginx"
SSL_BASE="/srv/ssl"
# Create preferred base directory for storing SSL certificates
mkdir -p $SSL_BASE
chown -R root:root $SSL_BASE