web: add builtin Let's Encrypt support
This commit is contained in:
10
web/rootfs/defaults/letsencrypt-renew
Executable file
10
web/rootfs/defaults/letsencrypt-renew
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# stop nginx
|
||||
s6-svc -u /var/run/s6/services/nginx
|
||||
|
||||
# renew cert
|
||||
certbot -n renew >> /config/le-renew.log
|
||||
|
||||
# start nginx
|
||||
s6-svc -u /var/run/s6/services/nginx
|
||||
Reference in New Issue
Block a user