diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 16c7d321ba..bffd78b7fd 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -23,7 +23,8 @@ if($domain -ne "localhost") { New-Item -ItemType directory -Path $letsEncryptPath | Out-Null } docker run -it --rm --name certbot -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot ` - certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain + certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain ` + --logs-dir $outputDir/letsencrypt/logs --staging } } diff --git a/scripts/run.ps1 b/scripts/run.ps1 index d9319d9ec3..4bd0c176fd 100644 --- a/scripts/run.ps1 +++ b/scripts/run.ps1 @@ -14,7 +14,7 @@ docker-compose --version $letsEncryptLivePath = "${outputDir}/letsencrypt/live" if(Test-Path -Path $letsEncryptLivePath) { docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot ` - renew + renew --logs-dir $outputDir/letsencrypt/logs --staging } docker-compose -f ${dockerDir}\docker-compose.yml -f ${dockerDir}\docker-compose.macwin.yml down