[acme.sh] Add pre-defined `.acmeenv`
This commit is contained in:
parent
138e33f054
commit
854b06b9e7
|
@ -0,0 +1,4 @@
|
|||
. "/root/.acme.sh/acme.sh.env"
|
||||
|
||||
export CF_Account_ID=""
|
||||
export CF_Token=""
|
6
setup.sh
6
setup.sh
|
@ -16,6 +16,12 @@ chmod -R 600 $SSL_BASE
|
|||
|
||||
# Now the fun starts
|
||||
|
||||
# I have bash scripts that interact with acme.sh
|
||||
# But I use zsh as the main shell
|
||||
# Therefore I need a shared "environment file" that loads acme.sh
|
||||
# And related environment variables
|
||||
curl -L "$GIST/.acmeenv" > "/root/.acmeenv"
|
||||
|
||||
# Get the alias config for Let's Encrypt challenges:
|
||||
curl -L "$GIST/letsencrypt.conf" > "$NGINX/letsencrypt.conf"
|
||||
|
||||
|
|
Loading…
Reference in New Issue