Added start of nginx config

This commit is contained in:
Jef Roosens 2021-01-04 12:38:27 +01:00
parent f6d28afda0
commit 91378a9cf1
5 changed files with 25 additions and 0 deletions

3
nginx/nginx/renew Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
python3 -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew --webroot --webroot-path /var/lib/certbot/ --post-hook "/usr/sbin/nginx -s reload"