Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SiwatS authored Mar 31, 2022
1 parent f4fff97 commit 3322374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ certbot certonly --test-cert --webroot --agree-tos -m $EMAIL -n -w /ssl/certbotr

#Construct and Upload Certificate to NGINX Unit
cat /etc/letsencrypt/live/$DOMAIN_NAME/fullchain.pem > fullcert.pem
cat /etc/letsencrype/live/$DOMAIN_NAME/privkey.pem >> fullcert.pem
cat /etc/letsencrypt/live/$DOMAIN_NAME/privkey.pem >> fullcert.pem
curl -X PUT --data-binary @fullcert.pem --unix-socket /var/run/control-unit.sock http://localhost/certificates/primary

#Apply SSL Partial Configuration
Expand Down

0 comments on commit 3322374

Please sign in to comment.