Create temporary cert process so that nginx can start. Still need to figure out if/how certbot will attempt to renew domains in conf.d. Lowered the cert days in case it checks that.

This commit is contained in:
2023-07-05 21:17:14 -07:00
parent 8fa7adb2d3
commit cea611c81c
4 changed files with 33 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ services:
- "80:80"
- "443:443"
volumes:
- ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/nginx/certs-letsencrypt
- ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/nginx/certs
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
certbot:
image: certbot/certbot