Merge pull request #58 from ibbbb/chmod

Fix chmod www-data iss, letsencrypt.sh protocol issues and README.md
This commit is contained in:
tianyu
2018-06-27 21:35:30 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ CERT_DOMAINS="example.com www.example.com im.example.com"
**运行** **运行**
`./le-cloudflare.sh cloudflare.conf` `./le-cloudflare.sh ./cloudflare.conf`
最后生成的文件在当前目录的 certs 目录下 最后生成的文件在当前目录的 certs 目录下

View File

@@ -29,9 +29,9 @@ if [ ! -f "letsencrypt.sh" ];then
fi fi
if [ "$ECC" = "TRUE" ];then if [ "$ECC" = "TRUE" ];then
./letsencrypt.sh -c -k ./cloudflare-hook.sh -t dns-01 -a secp384r1 ./letsencrypt.sh --accept-terms -c -k ./cloudflare-hook.sh -t dns-01 -a secp384r1
else else
./letsencrypt.sh -c -k ./cloudflare-hook.sh -t dns-01 ./letsencrypt.sh --accept-terms -c -k ./cloudflare-hook.sh -t dns-01
fi fi
chown -R www-data:www-data certs chown -R $USER:$USER certs