Closed navanjr closed 1 year ago
Version 2 has been recently released. Docker DNS resolver is supported out of the box. https://github.com/evgeniy-khist/letsencrypt-docker-compose#initial-setup
Or update your config to have Nginx variable. Together with resolver
it's required to let Nginx start if an upstream server is unreachable.
https://github.com/evgeniy-khist/letsencrypt-docker-compose/blob/1fd9edba4e52432b6fd674a553aaae2e8ba9c363/templates/servers.conf.hbs#L41
Thanks for this project!
in my case nginx won't start if an upstream container is not running.
I am attempting to use the nginx
resolver
directive to allow nginx to run if my upstream container is down.Where would be the appropriate place to apply this nginx directive?
I have tried in my vhosts files...
and in site.conf.tpl...
Neither have worked.