progmult / freebsd-vhost

FreeBSD "add virtual host" sh script with config and templates
0 stars 0 forks source link

add letsencrypt support #8

Open progmult opened 5 years ago

progmult commented 5 years ago

check certbot avail and then certbot certonly --webroot -w /u1/www/example/html -d example.com -d www.example.com check if needed crontab task echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew" >> /etc/crontab

progmult commented 5 years ago

logrotate template - 5e1c27a66353a4883ae5d6bbd326a5848aa6aaa0 added logrotate basic support - 5eb6288bbab9f19f4e6710d8464bde8afe9a1c2b