You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made https://github.com/onnimonni/signaler for generating ssl certificates automatically for docker containers which I use with this nginx-proxy container. I'm only using this in local development.
My problem is that the ssl generator container is not fast enough to create the ssl certificate for nginx-proxy and I need to restart the containers to retrigger nginx-proxy to read my ssl certificates again. Is there a way to reload nginx-proxy configs straight from my ssl generator container or set it up in way which watches changes in /etc/nginx/certs?
I've encountered the same issue, and I'm just making some notes about what I've found here so that either myself, or someone else can follow up on.
The best outcome would to be able to send a HUP or similar to the container and have it reload the configs. Having to know the internal setup of the container providing the proxying is fragile.
The docker-gen and nginx containers each seem to support this behaviour out of the box, but the nginx-proxy container, which uses Foregodoes not.
Additionally, in my particular configuration I'm updating the virtual host specific files which are included in the /etc/nginx/conf.d/default.conf, meaning that docker-gen does not detect the change, so does not signal nginx.
Hey!
I made https://github.com/onnimonni/signaler for generating ssl certificates automatically for docker containers which I use with this nginx-proxy container. I'm only using this in local development.
My problem is that the ssl generator container is not fast enough to create the ssl certificate for nginx-proxy and I need to restart the containers to retrigger nginx-proxy to read my ssl certificates again. Is there a way to reload nginx-proxy configs straight from my ssl generator container or set it up in way which watches changes in
/etc/nginx/certs
?My whole setup can be seen in this docker-compose.yml file: https://github.com/devgeniem/gdev/blob/master/docker/services.yml
The text was updated successfully, but these errors were encountered: