Re-structured nginx config

This commit is contained in:
Jef Roosens 2021-01-05 14:28:58 +01:00
parent da1df2e798
commit e39e11b3fe
10 changed files with 11 additions and 2 deletions

3
nginx/build/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"