mirror of
https://github.com/MatteZ02/infra.git
synced 2025-07-01 08:43:38 +00:00
Update nginx.sh
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
env
|
||||||
echo -n "$CERTBOT_VALIDATION" > /root/nginx/html/.well-known/acme-challenge/$CERTBOT_TOKEN
|
echo -n "$CERTBOT_VALIDATION" > /root/nginx/html/.well-known/acme-challenge/$CERTBOT_TOKEN
|
||||||
mkdir -p /root/nginx/html/.well-known/acme-challenge
|
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
|
/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --private-key ~/.ssh/id_rsa tasks.yml -t nginx &> /dev/null
|
||||||
|
Reference in New Issue
Block a user