Will I ever test my code before committing? No.
This commit is contained in:
parent
333db37b71
commit
6f8cb905b0
|
@ -50,17 +50,17 @@ nginx -t
|
||||||
echo -n "Please make sure the test passed successfully and fix any issues if it didn't [Enter]"
|
echo -n "Please make sure the test passed successfully and fix any issues if it didn't [Enter]"
|
||||||
read
|
read
|
||||||
|
|
||||||
acmesh --set-default-ca --server letsencrypt
|
"$acmesh" --set-default-ca --server letsencrypt
|
||||||
echo -n '[Enter] to continue'
|
echo -n '[Enter] to continue'
|
||||||
read
|
read
|
||||||
|
|
||||||
acmesh --issue -d "$domain" -w "/var/www/$domain/"
|
"$acmesh" --issue -d "$domain" -w "/var/www/$domain/"
|
||||||
echo -n '[Enter] to continue'
|
echo -n '[Enter] to continue'
|
||||||
read
|
read
|
||||||
|
|
||||||
mkdir -p -v "/etc/nginx/certs/$domain"
|
mkdir -p -v "/etc/nginx/certs/$domain"
|
||||||
|
|
||||||
acmesh --install-cert -d "$domain" --cert-file "/etc/nginx/certs/$domain/cert.pem" --key-file "/etc/nginx/certs/$domain/key.key" --fullchain-file "/etc/nginx/certs/$domain/fullchain.cer" --reloadcmd "service nginx force-reload"
|
"$acmesh" --install-cert -d "$domain" --cert-file "/etc/nginx/certs/$domain/cert.pem" --key-file "/etc/nginx/certs/$domain/key.key" --fullchain-file "/etc/nginx/certs/$domain/fullchain.cer" --reloadcmd "service nginx force-reload"
|
||||||
echo -n '[Enter] to continue'
|
echo -n '[Enter] to continue'
|
||||||
read
|
read
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue