The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

145737 (1) [Avatar] Offline
#1
The resolvable receipt was very helpfull.

But I realized that nginx do not reload the DNS information of upstream directives.

So I build a node script inside a docker image to trigger a nginx config reload when desired container restart.

It keeps reverse proxy working even after container restarts.

Here is the solution:

Docker image - https://hub.docker.com/r/rsobral/docker-nginx-reloader/

Source - https://github.com/surfdude75/docker-nginx-reloader

Hope it helps someone.
Ian Miell (17) [Avatar] Offline
#2
Thanks, that looks like a very useful tip! A bit late for us to change this edition now, maybe this will make it to the second!

Ian