diff --git a/nginx/start.sh b/nginx/start.sh index 48b18d0..8fc4ce8 100755 --- a/nginx/start.sh +++ b/nginx/start.sh @@ -1,10 +1,13 @@ #!/bin/bash +source ../../export.env +source ../../.env + domains=($SERVER_NAME) rsa_key_size=4096 data_path="./data/certbot" email=$CERTBOT_EMAIL -staging=0 # Set to 1 to avoid hitting request limits +staging=1 # Set to 1 to avoid hitting request limits if [ -d "$data_path" ]; then read -p "Existing data found for $domains. Continue and replace existing certificate? (y/N) " decision