Re-structured nginx config
This commit is contained in:
parent
da1df2e798
commit
e39e11b3fe
10 changed files with 11 additions and 2 deletions
3
nginx/build/renew
Normal file
3
nginx/build/renew
Normal 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"
|
||||
Reference in a new issue