mirror of
https://github.com/wmnnd/nginx-certbot
synced 2023-04-20 18:47:46 +08:00
Automatically reload nginx conf every 6 hours
This commit is contained in:
parent
24d36755a8
commit
8ef8ac4a89
@ -9,6 +9,7 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
volumes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user