Avoiding Nginx restart when rsyncing cache across machines
quintinpar at gmail.com
Tue Sep 11 23:45:42 UTC 2018
I run a mini CDN for a static site by having Nginx cache machines (in
different locations) in front of the origin and load balanced by Cloudflare.
Periodically I run rsync pull to update the cache on each of these
machines. Works well, except that I realized I need to restart Nginx and
reload isn’t updating the cache in memory.
Really want to avoid the restart. Is this possible? Or maybe I am doing
something wrong here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx