This commit is contained in:
parent
381a149bc1
commit
bfd40cd8bd
8
setup.sh
8
setup.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue