From a8938882e42e4eaca17b46eccb09edb3c059bc18 Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:07:10 +0300 Subject: [PATCH] Update nginx.sh --- files/certbot/nginx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/certbot/nginx.sh b/files/certbot/nginx.sh index 8d37686..95cfa47 100644 --- a/files/certbot/nginx.sh +++ b/files/certbot/nginx.sh @@ -1,4 +1,5 @@ #!/bin/bash echo -n "$CERTBOT_VALIDATION" > /root/nginx/html/.well-known/acme-challenge/$CERTBOT_TOKEN +mkdir -p /root/nginx/html/.well-known/acme-challenge /opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --private-key ~/.ssh/id_rsa tasks.yml -t nginx &> /dev/null